Fonts


Recommended Posts

It is very likely because you don't have the fonts that Windows incluldes on your Linux box.

For example, Windows includes things like "Arial" and "Comic Sans". Linux doesn't have these (at least by the same name).

Web pages specify fonts from most specific to more general alternatives. For example, on news.google.com, they specify:

font-family:arial,sans-serif

This indicates that the browser should first try to use font "Arial". Windows includes that, so that is what will be used on a Windows box. On a Linux box, it looks and likely sees you don't have it (unless you installed it yourself, for the most part). In that case, it looks at the next option, which is "sans-serif", so your Linux browser will use the generic Sans Serif font that it has.

That explains the difference.

It is possible to have Linux use your Windows fonts. If you dual-boot, I believe you can even have a symbolic link to your Windows folder with the fonts, and Linux (technically, X) will be able to include them as available fonts. (Y)

Link to comment
https://www.neowin.net/forum/topic/247548-fonts/#findComment-584968277
Share on other sites

Well, I would assume that Linux is substituting different fonts (if the coder has specified "Arial" for example).

If they generically specified "Sand-serif" then your default ss font may be different.

584968085[/snapback]

It's "sans" serif, not "sand :D Sans-serif, as in "without serif marks" - was probably a typo, since "d" is next to "s", but I though It'd say it in anyway since there some people out there who have no idea that sans-serif actaully means something :p

Link to comment
https://www.neowin.net/forum/topic/247548-fonts/#findComment-584968301
Share on other sites

Do you guys know any howtos on getting windows fonts to work in linux? in particular with firefox.

584968336[/snapback]

I didn't read through it, but this link appears to have a lot of information on this.

http://linux.org.mt/article/ttfonts

In summary, you get your fonts where Linux can access them (either in one of your Linux directories, or link to them in your Windows/dual-boot partition), then make sure you have a pointer to that location for X to find them. Not overly complicated. However, for apps like GIMP to be able to use them you need to also specifically tell GIMP where to look (since it uses its own set of font locations, I think).

Link to comment
https://www.neowin.net/forum/topic/247548-fonts/#findComment-584968380
Share on other sites

What went wrong?

It really is no more than copying in a directory containing your fonts, then editing /etc/X11/xfs/config to include that directory in your path.

What steps did you take (do you remember)?

Link to comment
https://www.neowin.net/forum/topic/247548-fonts/#findComment-584971620
Share on other sites

It involved a couple of ttmkfdir and makefontdir and xset, also SuSEConfig.fonts commands....

I honestly am not sure. I'm in the process of removing xorg right now...

584971827[/snapback]

Hmmmm... I have Fedora, but I made a choice to not do the "automated" apps. All they really should be doing is adding the path into the file, anyhow.

You might be better off locating your X font system folder and editing the config file yourself. You will probably get a better sense of understanding, too, knowing exactly what you did to make the change, too. ;)

Link to comment
https://www.neowin.net/forum/topic/247548-fonts/#findComment-584971853
Share on other sites

well i did do this all manually. but you need to create a fonts.dir file in the new folder so that X recognizes it as fonts. that's what those tools are for.

I've recreated Xorg and that's fine. I can xinit and get X running. It seems to be kde/gnome that have problems. My error is always /usr/X11R6/bin/kde segfaulting. I am not sure why kde is involved in the first place. GDM is the default and then Gnome...

Link to comment
https://www.neowin.net/forum/topic/247548-fonts/#findComment-584971872
Share on other sites

well i did do this all manually. but you need to create a fonts.dir file in the new folder so that X recognizes it as fonts. that's what those tools are for.

Are you sure? I don't recall doing anything more than copying the directory off my USB stick and into my home directory. I just linked to them in that location (it isn't good form for me to have put them there, as I really should have put them where all users could link to them - but this is a one-user machine, so I get sloppy) :p

EDIT: I am not sure if you may have a bad font file in there that could cause a major problem with KDE...

Link to comment
https://www.neowin.net/forum/topic/247548-fonts/#findComment-584971905
Share on other sites

So yeah, it was just a bad font that caused havoc. I'm back to where I started now. The fonts still look different from the ones in Windows. I am positive they are the same font type, but I think that my linux gui is giving it more anti-aliasing than windows, thus making them look smoother, and unfortunately a little less crisp...

Link to comment
https://www.neowin.net/forum/topic/247548-fonts/#findComment-584972018
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • About bloody time. I have got PRs with hundred of files and the Web UI just struggling to even load the pages.
    • I wonder if it was applying secure boot certificates/dbx files?
    • I recently tried edge. It seems a lot better. A lot of the junk in it is gone. It seems less bloated and snappy.
    • Lethal fake phone chargers are still being sold on Amazon and eBay, UK watchdog warns by Paul Hill Credit: Pexels The UK consumer rights organization, Which?, is claiming that “potentially lethal knock-off chargers” are still being sold on online marketplaces seven years after it exposed the danger of these chargers. In its latest investigation, it bought 15 USB phone chargers from several online marketplaces and found they were missing key information, meaning they cannot be legally sold in the UK. Which? bought the 15 chargers from seven online marketplaces. These were Amazon (including Amazon Haul), AliExpress, B&Q Marketplace, Debenhams Marketplace, and eBay. It said that the chargers were so badly made that anyone using them was at risk of electric shock. Over half the chargers also posed fire and explosion risks. Of the chargers purchased, one was a fake Apple USB-C 35W power adaptor charger. To confuse buyers, the box was branded with an Apple logo, but testing found it to be a fake. Further testing picked up arcing sounds after 10 seconds of use, where a current jumps between two parts of the electrical circuit, which can cause fires, explosions, or electric shock. The manufacturers of this particular charger also put modeling clay inside it to make it feel more weighty, robust, and genuine. Not all of the chargers were technically faulty; however, some were missing key packaging, markings, and documentation, meaning they can’t be sold in the UK legally. Which? said that it is now campaigning alongside a coalition of safety groups and businesses for new laws that make online marketplaces responsible for ensuring the safety of products that they choose to list on their websites. It also said the government needs to start using powers under the Product Regulation and Metrology Act, which was adopted last July, to impose safety requirements on online marketplaces via secondary legislation, but so far, there have been delays. No matter what country you are in, be sure to properly research what you are buying and only buy authentic chargers to prevent fires. You can read more about Which?’s research here.
    • Visual Studio finally gets long-awaited feature that developers will love by Usama Jawad Visual Studio Code is Microsoft's popular, lightweight, open-source code editor, it is actually Visual Studio that is the company's flagship integrated development environment (IDE). Although the IDE already offers a boatload of useful features for developers, Microsoft has finally introduced a long-requested capability that will be loved by many. While developers have already been able to create Git pull requests (PRs) directly within Visual Studio for the past couple of years, it had not been possible to review a PR without switching to the browser, until now. Microsoft revealed in December 2025 that it is working on UX that enables developers to do just that, and fast-forward to June 2026, and Visual Studio finally has native capabilities to open and inspect a PR, discuss feedback, and wrap up the review, all without switching to the browser. This integration works for both GitHub and Azure DevOps (including on-prem). Developers have access to multiple surfaces to open a PR, including Git Repository, Git Changes, and the Git menu in Visual Studio. Once you open a PR, all the important details will be immediately visible to you, from where you can navigate to various levels of granularity and branch states, depending on the reviews that you are engaged in. As you would expect, you also get a diff view that enables you to see code changes inline or side-by-side in a separate panel. You can also review commit-by-commit. Additionally, this UX fosters collaboration as you can leave comments, reply to threads, and resolve conversations easily. Naturally, you can also leverage Copilot to apply a code suggestion to fix a potential issue. When you are done, you have the ability to approve, complete, and merge the PR. This is a pretty major feature as it has been requested heavily for the past few years. You can try it out in Visual Studio 2026 version 18.7, made available here recently. Microsoft plans to enhance this experience further in future releases with comment filtering, a timeline of PR activity, and more.
  • Recent Achievements

    • Week One Done
      Timaximus earned a badge
      Week One Done
    • One Month Later
      Timaximus earned a badge
      One Month Later
    • Rookie
      FBSPL went up a rank
      Rookie
    • First Post
      davidbazooked earned a badge
      First Post
    • Week One Done
      davidbazooked earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      499
    2. 2
      PsYcHoKiLLa
      174
    3. 3
      +Edouard
      160
    4. 4
      Steven P.
      84
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!