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

    • Wow, spoken like a true blind hater, you don't even provide arguments. Please, go check my comment above to @seacaptain and you'll find out why what you say doesn't make sense in this context...
    • Get used to this, with AI tooling now uncovering new vulns and getting them exploitable far faster than has ever been possible before software is going to need to be updated far more frequently. Back in the day it may take reseachers weeks or months to do what AI can now do in hours. Once its a threat is discovered it's weaponsized far more quickly, meaning you simply can't be waiting 2, 3, 4 weeks to deploy a patch, it needs to be patched immediately. Going to be interesting handling this in the enterprise space where traditionally patching has been steady, but very staged (and rightly so up until now), that is going to have to change.
    • You don't need to "close all browser sessions constantly" or wait for updates to install. The updates download in the background while you use the browser, without interrupting you, they install automatically the next time you launch the app. And they install very fast (depending on your storage speeds, of course), you have to wait at most 2-3 extra seconds, if any. Seems like you haven't used Edge in a loooooooong time...
    • Segra 1.6.0 by Razvan Serea Segra is a free, open-source OBS-powered game recorder offering fast gameplay capture, instant clips, AI highlights, deep game integration, and seamless uploads—perfect for gamers, streamers, and content creators. Lightweight, fast, zero bloat. Segra key features: Automatic Game Recording: Begin capturing gameplay the moment your game launches, with zero manual setup. Instant Clipping: Save important moments instantly using a customizable hotkey—perfect for highlights, montages, or quick shares. Segra AI Highlights: Let Segra automatically detect kills, assists, deaths, and key events to generate polished highlight reels without manual editing. Gameplay Uploads: Upload recordings and clips directly to Segra.tv for fast sharing and cloud access. Deep Game Integration: Enjoy advanced game-data tracking across hundreds of supported titles, enabling smart highlight generation and stat-informed clipping. High-Performance Capture: Record up to 4K at 144 FPS using OBS-powered technology with minimal performance impact, supporting NVENC, AMD VCE, and custom quality controls. Segra Editor: Edit recordings easily with timeline controls, segment management, and event-based navigation to build the perfect clip. Customization Options: Adjust hotkeys, output formats, storage paths, codecs, capture quality, and performance settings for a tailored recording experience. Segra 1.6.0 changelog: Recording: Added HDR support. Grand Theft Auto: Added game integration for deaths (FiveM and RAGE MP supported). Highlights: Added customizable padding for highlights. Replay Buffer: Added a shockwave visual effect when a replay buffer clip is saved. Audio: Increased the maximum sound effects volume from 100% to 200%. Hotkeys: Fixed hotkeys not triggering while unrelated keys were held. Installer: Added code signing to verify publisher identity, branded the installer, and reduced OS security warnings. OBS: Updated the supported OBS version to 32.1.2. Download: Segra 1.6.0 | 74.4 MB (Open Source) View: Segra Homepage | Github | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

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

    1. 1
      +primortal
      507
    2. 2
      PsYcHoKiLLa
      175
    3. 3
      +Edouard
      163
    4. 4
      Steven P.
      86
    5. 5
      ATLien_0
      79
  • Tell a friend

    Love Neowin? Tell a friend!