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.
Did you enable bytecode interpreter before compile? If not then see README.UNX (or it was .UNIX?) and you'll see what I mean.
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
Monospace: Courier/Courier New
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 :cool:
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.
the FreeType i installed was that which came on the CD...
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?)
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
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 :)
|All times are GMT -5. The time now is 05:34 PM.|