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?

I'm using Slackware 8.1 and installed the Freetype library.

pesho_p

02-01-2003 04:48 PM

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:

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.

i have not done any file configurations myself so i will check all settings you recommended.

And Thanks for you reply, lets hope my fonts will get normal after a little configuration, (maby an update of FreeType?)

zybreak

02-02-2003 06:59 AM

ok, i checked some things, i dont have this file '/etc/fonts/fonts.conf'

and the xdpyinfo | grep -c -i render returned 0

i dont have a folder named /usr/X11R6/lib/fonts/TrueType althou i have a /usr/X11R6/lib/fonts/TTF with a few lux* fonts.

my freetype library is version 1.3.1.

I got a little confused when u spoke of xft-2.

by this info, is there anything you can directly say that i need to do (im just a confused newbie who needs guidance)

and english isnt my natvie language either

pesho_p

02-02-2003 01:57 PM

Quote:

ok, i checked some things, i dont have this file '/etc/fonts/fonts.conf'

This simply means that you don't have Xft 2.x (font configuration and customization library) installed on your system. You'll need this one in conjunction with FreeType 2.1.x (font engine), Xft enabled Mozilla and some high quality TrueType fonts if you want nice looking final result.

Quote:

and the xdpyinfo | grep -c -i render returned 0

This menas that you don't have 'render' extension (or it's not loaded) either :(

Quote:

i dont have a folder named /usr/X11R6/lib/fonts/TrueType althou i have a /usr/X11R6/lib/fonts/TTF with a few lux* fonts.

Aaah, I see. Plain Slackware installation without any modifications. No wonder that your fonts look strange (to say the least...).

Before we may continue can you please post your XF86Config and XftConfig files here (both can be found in '/etc/X11') or send them to 'pesho_pv at yahoo dot com'. Can you also tell me which desktop manager you're using? What is your video card? How you configure your X after installation. What Mozilla version are you using?

And don't worry; I'm newbie too (maybe no more than 7-8 months experience). Just don't give up, fight with problems one by one and in the final reckoning you'll succeed :)