At 11:20 AM 7/24/01 +0000, KS wrote:
FreeType library that comes with XFree86 and renders TrueType fonts, does have support for anti-aliasing. But surprisingly the feature is turned off by default. You can turn it on by defining ANTI_ALIASING in appropriate file, probably in X11R6/xc/lib/font/FreeType/ftfuncs.h file.
But this will mean recompiling the X system? I dont think I have the sources for it.
Use acroread for viewwing pdf file instead of xpdf. http://www.adobe.com/products/acrobat/readstep2.html
I tried gv - it opens pdf files too. It also has an antialiasing option, which when enabled, renders the text quite OK. But the problem is gv is not terribly UF.
Login as root and follow the steps
I had tried this before but without success.
(2) $ ttmkfdir > fonts.scale
I dont have ttmkfdir. I have mkttfdir ;) And it writes to the fonts.dir file directly. I have to use the -d (force output to stdout) option and then redirect it to the file fonts.scale.
(3) $ mkfontdir
This reads the fonts.scale file and reproduces an exact copy in the fonts.dir.
(4) $ xset fp+ `pwd`
this gives me error #37 bad font path element : possible reasons - directory does not exist or has wrong permissions directory missing fonts.dir incorrect font server address or syntax.
Of these the first two I checked and they seemed to be OK.
(5) $ xset fp rehash (6) Use 'xlsfonts' to verify that fonts are now there in the current font path
quasi
On Wed, 25 Jul 2001, Q u a s i wrote:
(4) $ xset fp+ `pwd`
this gives me error #37 bad font path element : possible reasons - directory does not exist or has wrong permissions directory missing fonts.dir incorrect font server address or syntax.
Which version of XFree86 are you using? Only XFree86 4.0 and later versions support TTF fonts. This error may occur when current version of your XFree86 doesn't support TTF fonts.
- Keyur.