Quote:
I'm using Slackware 8.1 and installed the Freetype library.
|
You mean FreeType 2.1.x, right?
Did you enable bytecode interpreter before compile? If not then see README.UNX (or it was .UNIX?) and you'll see what I mean.
Quote:
when i viewed a webpage in linux with mozilla i noticed that the font s appeared very small and not with the same font as it was displayed in windows, later i installed kylix where the fonts where also strange. How can i check if i have all the fonts necessary and do i have any True Type fonts installed?
|
1. Are you shure that your Xft libraries are setup properly? I mean did you add something like:
Code:
# Font directories.
dir "/usr/X11R6/lib/X11/fonts/TTF"
match
any size < 14
any size > 8
edit antialias=false;
in your '/etc/X11/XftConfig' (for Xft-1) and:
Code:
<!-- Font directory list -->
<dir>/usr/X11R6/lib/X11/fonts/TTF</dir>
<dir>/usr/share/fonts</dir>
<dir>~/.fonts</dir>
<!-- Disable antialiasing for fonts less than 14 points -->
<match target="pattern">
<test qual="any" name="size" compare="less">
<double>14</double>
</test>
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
</match>
<!-- Don't allow fonts smaller than 6 points -->
<match target="pattern">
<test qual="any" name="size" compare="less">
<double>6</double>
</test>
<edit name="size" mode="assign">
<double>6</double>
</edit>
</match>
in '/etc/fonts/fonts.conf' (for Xft-2 respectively)?
2. Do you have X's 'render' extension enabled and working? You can find out this by typing 'xdpyinfo | grep -c -i render' in command prompt. It must return '1'.
3. Are you shure that you're using Xft enabled Mozilla (./configure --enable-xft --add_here_your_other_options)? You can find such package for Slackware allredy compiled
here or
here (but I can't guarantee you that last package is Xft enabled).
4. Do you have some high quality TrueType fonts installed in '/usr/X11R6/lib/X11/fonts/TTF' (or sometimes 'truetype' as opposed to 'TTF')? Like those from Microsoft for example. You can find them
here or
here (last package even will do the dirty work by installing them for you
). Or mount your Windows partition (if you have one) and copy fonts from '%systemdir%/Fonts' (where %systemdir% is X:\Windows or X:\WINNT depending of your Windows version, but if you're running Windows 9x make SHURE that it is AT LEAST 95 OSR 2.x - if my memory serves me right - i.e. that fonts are Unicode)). Then you must run 'ttmkfdir' inside diectory holding your new fonts:
# ttmkfdir -o fonts.dir
# cp fonts.dir fonts.scale
and then add path to that directory in your XF86Config and XftConfig. Or, if you're usinf font server, you must add that path on top in '/etc/X11/fs/config'. It should look like this way, for example: 'catalogue=/usr/X11R6/lib/X11/fonts/TTF'. Then you must restart your font server of course.
5. Try to run your X with 'startx -- -dpi 96' or maybe even 'startx -- -dpi 133' (default value is 72 dpi (that is 'Dots Per Inch')). Under Windows, just for example, default value is 96 (so called 'Small Fonts").
6. Kinda stupid suggestion but... you can increase/decrease fonts sizes with Ctrl+'+' and Ctrl+'-' in Mozilla/Phoenix.
7. Change default fonts used by Mozilla: Edit -> Preferences -> Appearance -> Fonts. For example:
Proportional: Sans Serif
Serif: Tmes New Roman/Georgia
Sans-serif: Arila/Tahoma/Veranda
Monospace: Courier/Courier New
Fantasy: Webdings/Wingdings
ans so on. It's up to you
Well... that's it. Now you must have nice and smooth fonts on your Slackware setup. HTH
For your viewing pleasure:
http://www.geocities.com/pesho_pv/index.html (2-nd image from top to bottom)
PS Sorry for my English but this is not my native language.