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

    • Brave Browser 1.91.172 is out.
    • Any Video Converter Free 9.2.3 by Razvan Serea Any Video Converter is an All-in-One video converting tool with an easy-to-use graphical interface, fast converting speed and excellent video quality. Any Video Converter supports all popular video formats and converts your videos to different video formats including MP4, MOV, MKV, M2TS, M4V, MPEG, AVI, WMV, ASF, OGV, WEBM, and more. It supports converting videos to customized percent (50%, 100%, 200%, and more) or resolution (480p, 720p, 1080p, 4K, and more); It supports encoding videos into x264, x265, h263p, xvid, mpeg, wmv, and more. Any Video Converter Free key features: Compatible with Windows 11/10/8.1/8/7 (32-64bit) User interface are available in 14 languages Convert all kinds of video formats including high-definition videos Extract audio from any videos and save as MP3/WMA for your mp3 player Take snapshot from any videos and build your own picture collection Support high-definition for both input and output Batch add videos from hard drive and batch convert Customize output parameters completely as you like Manage your output videos files by group or output profile Merge several video files into a single and long one Clip a video into segments Free Audio Filter: Adjust audio volume and add audio effects Crop frame size to remove black bars and retain what you want only Adjust the brightness, contrast, saturation Rotate or flip or add noise/sharpen effects Produce output video with subtitles of your own dialogue and much, much more... Any Video Converter Free 9.2.3 changelog: Fixed video download engine auto-update failures. Added custom speed control support in the speed change tool. Added support for downloading YouTube AI-generated subtitles. Added support for preserving original audio stream in the format convert tool (e.g., Dolby Atmos, DTS:X). Fixed other bugs and improved overall performance. Download: Any Video Converter Free 9.2.3 | 7.6 MB (Freeware) View: Any Video Converter Free Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Not sure what country you’re in but in many countries you can absolutely jail the sellers behind businesses… in fact I’d say in most countries you can do that
    • I guess we are done since you refuse to read my comment you replied to or my other comment in another thread you were also a part of here.
    • I hate Slack, but Teams is much worse - maybe they've already optimized it, but it was a huge slog the last time I've checked about half a year ago. I miss my Skype.
  • Recent Achievements

    • Dedicated
      jordanspringer earned a badge
      Dedicated
    • Rookie
      Rimplesnort went up a rank
      Rookie
    • One Year In
      Markus94287 earned a badge
      One Year In
    • One Month Later
      Markus94287 earned a badge
      One Month Later
    • Week One Done
      Markus94287 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      505
    2. 2
      +Edouard
      175
    3. 3
      PsYcHoKiLLa
      155
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      79
  • Tell a friend

    Love Neowin? Tell a friend!