Jump to content
Compatible Support Forums

Shoikan

Members
  • Content count

    17
  • Joined

  • Last visited

    Never

Community Reputation

0 Neutral

About Shoikan

  • Rank
    stranger
  1. Quote: My truetype directory is indeed all lowercase, and here is XF86Config-4 file: www.asysttech.com/otherfiles/xf86config-4.txt Ehrmm.. Darn... Here we run into my lack of knowledge of RedHat. Looks like I may have to dig into it some more. It looks like the font server for RedHat does things a little different than the default one that comes with X. I am not quite familiar with the fontserver that RedHat uses, so I can't help you any further (yet)...
  2. As an afterthought, also post your /etc/X11/XF86Config-4 so I can peek at that too...
  3. Looking at your logfile, I can see a couple of things. The first is that way at the start, X seems to complain about the fonts.dir. It's either missing or invalid for the directories /usr/X11R6/lib/X11/fonts/util and /usr/X11R6/lib/X11/fonts/encodings. You will need to cd into those directories and run the command Code: mkfontdir It does not require any switches. It then rebuilds the file fonts.dir. Next thing I see in the logfile, way at the end, is that it cannot find, or cannot seem to handle the directories /usr/X11R6/lib/X11/fonts/Type1, /usr/X11R6/lib/X11/fonts/Speedo, /usr/X11R6/lib/X11/fonts/TTF and /usr/X11R6/lib/X11/fonts/truetype. Double check if they are there and if you have not made any typos in the directory names. Remember that *NIX is casesensative and that truetype and TrueType are two different values. Also double check if you have done the all the steps in the original post for each of these directories that contain TT fonts. The Speedo and the Type1 directory should work all by themselves, but you do need to load the modules for them. To check if you tell X to load it, check the /etc/X11/XF86Config-4 file for lines saying something like Code: Load "speedo"Load "type1" If the module isn't loaded, it won't handle the corresponding font directory. Let's see if that helps any...
  4. What I can see is that there seem to be a couple of 'double' lines in your 'dir' lines, but that shouldn't be a big issue. I use Slack myself, so I may find my logs somewhere else than you, but we'll see. I am going to assume you boot up straight into the GUI (RH style ), which means that (if RH didn't change it), you should find the log in /var/log/XFree86.0.log. I would really like that log...
  5. Quote: Wow, I think that these actually work. However, I brought a rather large amount of fonts over from my Windows install, and I don't see even a tenth of them in OpenOffice (which you already mentioned that you weren't entirely too sure how it would behave) and AbiWord will no longer start as it's looking for "Nimbus Roman Regular". Any thoughts on correcting this? I don't even know where the original font would be, and I thought about just reinstalling the app. Also, I didn't have the "mkfontalias.py" file, but I did have the other components installed. So, I put a link to the file itself below for anyone else that might not have it. http://home.c2i.net/dark/mkfontalias.py Please give some more information please? Your distribution, the version of OpenOffice, a copy of your XftConfig, etc.? With this I might be able to do a little trouble shooting..
  6. Shoikan

    MSN Messenger Client

    Considering me being a KDE junky, I use KMerlin, which works fine. I am an avid user of Sim as ICQ client...
  7. I noticed a few minor errors in my story above in the order and the correct commands . I edited them, so they should be fine now. I also decided the commands might warrant a bit of an explanation: Code: chmod u+x /usr/local/bin/mkfontalias.py This command makes the file mkfontalias.py executable. This makes sure that you can execute it without having to tell bash (or whatever shell you are using) that it needs perl to run it. Code: ttmkfdir -o fonts.scale This command creates fonts.scale, which is basically a list of files with their associated filesizes. The fontsizes, I assume, are ignored, but X needs the list of fonts to be able to offer them. Code: mkfontdir This next command creates fonts.dir which is more or less a copy of fonts.scale as far as I can tell. I am sure it has some purpose, and if you know, by all means, enlighten me Code: mkfontalias.py Now, you have your awesome fonts all blazing away on your screen. Looks awesome, up to the point where you fire up Netscape 4.07 (or so) and all you can recognise in the UI are little boxes where the characters are supposed to be. This is because Netscape expects a specific font and that font only, to display it's stuff. A couple more programs have this problem (VMWare is another I can think of). This perl script makes sure that fonts.alias is created, which should take care of this problem. No more boxes for you! In the next step you have to modify your XF86Config file. Code: FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled" By adding the :unscaled at the end of the line, you tell X not to scale the fonts in that directory. Why wouldn't you want to scale them, you ask? Simple: the fonts in that directory are bitmapped fonts, which means that scaling them makes them blocky. Blocky == ugly. Keep reading to make the most of your X windows environment!
  8. Shoikan

    New to Linux!

    Quote: Basically just want some tutorials on setting up linux, i tryed to get it on my pc once and mandrake wouldnt login Hate to say it, but RTFM (Read The Friendly/Funny/Fudging Manual). Try http://tldp.org/ for instance. Usually, the distribution has a pretty good site (like http://www.mandrake.org and whatnot). There is -no- substitute for just sitting down and doing it though... One more hint though: forget (nearly) all you think you know about puters... Linux ain't windows.. And when you are 'strugling' with linux.. Think back about your very first time you tried to install windows on your own, before you give up..
  9. Shoikan

    Support for Promise FastTrak 100 TX2 ?

    Quote: The Mandrake Beta did not have any drivers for it.....Found drivers for the RH distro will try that.. /Toby There's support for the 'software RAID' based on the highpoint and promise chipsets in the kernel now... Dunno how good it is, or if it's compiled into Mandrake and whatnot..
  10. Quote: H i Nice to read your artical. Iam intereseted to install the TTF Pinyin fonts that I have installed and use in Win 98 Se. Have yet to be able to type Pinyin text iunder linux Mandrake 8.2 Kde Open Office. Will study your information concerning TTF then should be able to type to china in Pinyin regards Maurice The fonts -should- show up in OpenOffice too after all these steps. Not too sure about older versions of StarOffice. It has a slightly different way of doing things
  11. I am sure everyone can agree that the standard fonts of XFree are rather crappy. There are many howtos on making them look better, or using other fonts. Here you will find yet another howto, cookbook or whatever you want to call it.... The guys from Redmond have a habit of taking care of the looks quite a bit more than of security and that is actually to our advantage. We can 'borrow' their fonts for use in X. Note that the use of those fonts is only allowed if you have a valid windows license, or if you have downloaded the fonts from their site. This text assumes you use XFree 4.2.0, that you have a reasonable knowledge of the CLI and *NIX commands, that you have a working setup of X and a reasonably recent distribution. You should also have perl and freetype on your system. Step 1: Preparing the fonts and the directory. Unpack and/or move (from a windows partition) the ttf files to a directory under /usr/X11R6/lib/X11/fonts, for instance Truetype. The fontserver prefers the filenames to be in lowercase, so use this script on the files (I am reasonably sure the use is selfexplanatory?). Download the program ttmkfdir here. Unpack it and put the file ttmkfdir.linuxbin.glibc2 somewhere where you can run it from, such as /usr/local/bin. Then make a symlink to it called ttmkfdir since I am sure you don't want to type all of that every time you use it Next, download this file and also put it in the /usr/local/bin directory. Once you have all that set up, you cd into the directory with the truetype fonts. Run the command: Code: $ cd /usr/X11/lib/X11/fonts/Truetype$ chmod u+x /usr/local/bin/mkfontalias.py$ ttmkfdir -o fonts.scale$ mkfontdir$ mkfontalias.py After these commands you should see the following files: fonts.alias, fonts.dir and fonts.scale. Step 2: Modifying the config files. Next thing to do is modifying the various configuration files to reflect the new fonts you have added and make the most of them. Go and find the file XF86Config-4 or XF86Config. If both are found, the -4 version gets used. They can usually be found at /etc/X11 or /usr/X11/lib/X11. Open it and look for the following section: Code: Section "Files" Modify the lines under that section to look like this: Code: FontPath "/usr/X11R6/lib/X11/fonts/Type1" FontPath "/usr/X11R6/lib/X11/fonts/util" FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/Speedo" FontPath "/usr/X11R6/lib/X11/fonts/TTF" FontPath "/usr/X11R6/lib/X11/fonts/Truetype" FontPath "/usr/X11R6/lib/X11/fonts/cyrillic" FontPath "/usr/X11R6/lib/X11/fonts/encodings" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" This will make sure X can find the fonts. Next, hunt for the file called XftConfig. It can usually be found in the same directory as XF86Config. Look for the line: Code: dir "/usr/X11R6/lib/X11/fonts/Type1" Modify the lines there to show: Code: dir "/usr/X11R6/lib/X11/fonts/Type1"dir "/usr/X11R6/lib/X11/fonts/TTF"dir "/usr/X11R6/lib/X11/fonts/TrueType" This will make sure the fontserver will be able to find the fonts as well. Step 3: Sit back and enjoy your work. Fire up X again and you should be able to see that you now have the use of Truetype fonts in X. In the next installment, you will learn how you can get KDE to show your fonts anti-aliased. I assure you, that looks positively stunning.
  12. Shoikan

    Netscape & Mozilla display awful fonts

    Quote: Shoikan, can u post a walkthrough for n00bs on how to enable and fiddle with all the options? The Tips&Tricks section is still a virgin, you might be the lucky one to open it up, muha! Will do... However, how complicated do you want it? Also, I am a 'slackie', with a little more affinity with the CLI than the average Mandrake user....
  13. Shoikan

    Looking for some apps...

    The standard player of KDE, noatun, works just fine for me. Also has winamp skin support now..
  14. Shoikan

    Best Linux Browser Poll

    I am using the CVS version of KDE 3.1-ish.. And Konqueror is doing quite good... As for Mozilla et al, I miss the AA fonts and whatnot.
  15. Shoikan

    Compatibility submissions

    No prob I guess I'll see them appear some time...
×