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

    • Why should simply opening the Action Center ... require any significant amount of CPU cycles? Too many are ignoring the elephant in the room: today's CPUs may have similar clock frequencies to CPUs from a decade ago (~4 to 5 GHz), but they run with far higher performance per clock, even on the smallest E-cores. The Action Center is a static, minor desktop element. It ought to open instantly on any CPU made in the past 2.5 decades at even low clocks. Opening a program? Boost away. Unzipping a file? Boost to your heart's content. Right-clicking the notification area? This should be an ultra-efficient, low-impact event that opens instantly. Compare today's UI elements to Windows 7 UI elements. Today's UI elements hardly do anything more substantial or important or critical, yet now require modern-day processors to jump half a GHz to reduce their latency.
    • This is not an option lmao: it is part of the KB5094126 update, pushed to all users. There is no GUI to configure it. Reading the article should be required for commenting.
    • Can you recommend me a good Pixel 7 on eBay? Because some are saying Gen 1, and I don't think that's what I want, right?
    • Close, but it is for any application starting, not just during boot time. In fact, it probably will not improve boot time at all because during a boot, the CPU is already boosting, so a pre-boost wouldn't change anything. I agree that it isn't exciting (especially considering every other OS already does it), but it is a good thing, even if they are just playing catch up.
    • Any so called performance increase will be in milliseconds, which nobody will actually notice in real world usage.
  • Recent Achievements

    • One Year In
      slackerzz earned a badge
      One Year In
    • One Year In
      highriskpaym earned a badge
      One Year In
    • One Month Later
      highriskpaym earned a badge
      One Month Later
    • Week One Done
      highriskpaym earned a badge
      Week One Done
    • Week One Done
      FBSPL earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      501
    2. 2
      PsYcHoKiLLa
      198
    3. 3
      +Edouard
      156
    4. 4
      Steven P.
      84
    5. 5
      ATLien_0
      71
  • Tell a friend

    Love Neowin? Tell a friend!