Archived

This topic is now archived and is closed to further replies.

Fonts

This topic is 5748 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Not that we didn''t know this already, but font support SUCKS on UNIX systems. For whatever reason, I can''t seem to add ANY fonts. mkfontdir seems to do nothing. Is anyone aware of any tools that will actually install this shit so I can use other fonts??? rm -rf /bin/laden

Share this post


Link to post
Share on other sites
It depends on what you need the fonts for, are you looking
for prerendered fonts for GL? or are you trying to load fonts
in say an X or GTK application?

Share this post


Link to post
Share on other sites
All I want to do is let any application under X be able to see the fonts. I''ve tried using xfstt to get truetype support, but honestly, that''s not too big a deal for me... If I don''t have TT, whoopdeedoo. It''s the Type1 and other UNIX fonts that are really pissing me off because it won''t let me add them for some reason. mkfontdir does nothing! Notheeeng!

Anyway, I just want a wider array of fonts. You know, for the GIMP and other programs.

rm -rf /bin/laden

Share this post


Link to post
Share on other sites
I dont remember exactly, but you have to have a fonts.dir file in the directory with the fonts and then edit xf86config to have that font directory in it. Then just restart X and you should be good. For ttf fonts, i think you need to do somthing else. As for a toolkit, check www.gnome.org maybe there is an app for it.

Your absoultly correct, font support on unix really sucks.

Share this post


Link to post
Share on other sites
That is exactly what I''m doing, and it still doesn''t work. For example, I downloaded artwiz fonts, and they are in this directory: /usr/X11/lib/fonts/artwiz-fonts.

The contents of fonts.dir:
18
glisp.pcf.gz glisp
gelly.pcf.gz gelly
edges.pcf.gz edges
glisp-bold.pcf.gz glisp-bold
nu.pcf.gz nu
drift.pcf.gz drift
kates7x14.pcf.gz kates
fkp.pcf.gz fkp
mints-strong.pcf.gz mints-strong
smoothansi.pcf.gz smoothansi
cursor.pcf.gz cursor
vga11x19.pcf.gz vga11x19
cure.pcf.gz cure
aqui.pcf.gz aqui
lime.pcf.gz lime
snap.pcf.gz snap
anorexia.pcf.gz anorexia
mints-mild.pcf.gz mints-mild

A few lines from my /etc/X11/XF86Config file:
Section "Files"
...
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/artwiz-fonts/"
FontPath "/usr/share/fonts/truetype/"
...
EndSection

Now what''s wrong with this? By the way, the /usr/X11 directory symlinks to /usr/X11R6, so I don''t see how that could be a problem. I seem to have recalled reading something about xfs (X font server), which, by doing a ps -A does not appear to be running. Should I have it running? If so, why the hell can I see any fonts then? Besides, xfstt doesn''t seem to be doing its job, so why would xfs?

Someone''s gotta have some idea on this... Honestly, I can handle a lot of the other problems of *nix, such as the lack of games, but this is just ridiculous. Fonts are one are that Windows is by far superior to Linux.

rm -rf /bin/laden

Share this post


Link to post
Share on other sites
Check out xset, it has some stuff that has to do with fonts. Youll have to check the man page though because im not sure exaclty how (somthign liek xset +fp rehash). Also, im pretty sure you ahve to run it as root. I think it rescans the font directories from xf86config and takes note if there are new ones so x can use them. I probobly should have mentioned it before.

Hope that helps.

Share this post


Link to post
Share on other sites
*humms softly* Ok. Well, I know next to nothing about this, but why would you be running a copy of xfstt?

I found a linux version (http://www.ibiblio.org/pub/Linux/X11/fonts/) which indicated you replace the xfs and mkfontdir with new binaries, and then restart, using them.

...gimp, etc. at least, should be able to use fonts if the x font server is active and working correctly (are you sure it is?). If all else fails, you could also try the gimp-freetype split from CVS (http://sven.gimp.org/freetype/) which includes support for true type fonts (manual load or something similar I presume).

Finally, possibly this article set will help you:
http://gnome.themes.org/themes/965/

Note especially the ones at the bottom: "can''t install fonts" and
"about the fonts... the answer is..." (I especially liked that one: http://gnome.themes.org/comments/theme.965/11/)

Anyway, if it doesn''t help. Have a look around; It''s possibly just that specific font package which is not working.

Ciao!

Share this post


Link to post
Share on other sites