Author Topic: Fonts do not render correctly  (Read 760 times)

Neelo5000

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
Fonts do not render correctly
« on: April 14, 2004, 11:18:14 am »
Hello everyone. I have finally gotten Planeshift to build on my Slackware  machine, but now I\'m having a problem getting the fonts to render properly.  I think I\'ve heard of Slack experiencing oddities with true type fonts, but I\'m not sure.  Normally this wouldn\'t bother me too much, but its bad enough to where I am unable to read almost all of the text.  The problem is that the lines of text overlap one another; new lines need to be spaced a bit lower.   At first, the text wasn\'t there at all, so  I removed the .ttf font files from the /data/ttf/ directory, and now the text appears but the fonts don\'t display properly =/

This is what gets printed to the terminal:

niles@sleebosty:~/molblue/planeshift$ ./psclient -verbose
block_size: 8192
Mounting maps: dungeon hydlaa podium temple tower.
planeshift.application.client: Planeshift Molecular Blue
planeshift.application.client: This game uses Crystal Space Engine created by Jorrit and others
planeshift.application.client: 0.97 rdev [Unix-x86-GCC]
crystalspace.font.freefont2: Could not open fontfile *large!

crystalspace.font.freefont2: Could not open fontfile /planeshift/data/ttf/verdana.ttf!

crystalspace.font.csfont: Could not read font file /planeshift/data/ttf/verdana.ttf.
crystalspace.font.freefont2: Could not open fontfile *courier!

        loading definitions file /planeshift/gui/psgui.def...
        load successful (0 windows, 1 skins loaded.)
aws-debug: setting up global AWS palette...
aws-debug: finished palette setup.
crystalspace.font.freefont2: Could not open fontfile /planeshift/data/ttf/becker-m.ttf!

crystalspace.font.csfont: Could not read font file /planeshift/data/ttf/becker-m.ttf.
crystalspace.font.freefont2: Could not open fontfile /planeshift/data/ttf/becker-m-12.csf!

crystalspace.font.csfont: Could not read font file /planeshift/data/ttf/becker-m-12.csf.
crystalspace.font.freefont2: Could not open fontfile *courier!

planeshift.application.client: psEngine initialized.
crystalspace.bugplug: BugPlug could not read \'/config/bugplug.key\'!
crystalspace.bugplug: BugPlug loaded...
crystalspace.font.freefont2: Could not open fontfile *courier!

Loading Race Part Regions...Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
Loading xml regions for race...
OK!
Error while loading rpgdata...
Constructing psdWarning: 0x84d98c0
crystalspace.font.freefont2: Could not open fontfile *courier!

crystalspace.font.freefont2: Could not open fontfile *courier!

crystalspace.font.freefont2: Could not open fontfile *courier!



It repeats that last line over and over maybe a hundred times or more.

Heres my system info, for what its worth:
P4 1.5 GHz
256 MB rdram
nvidia geforce fx 5700 ultra w/ 128 MB
Slackware 9.1 linux kernel 2.4.22
freetype 2.1.5

Anyone have an idea?   I don\'t necesarily need to have the proper font...if I could somehow just fix the line spacing that would be good enough.  Thanks in advance :)

Niles
« Last Edit: April 14, 2004, 11:20:16 am by Neelo5000 »

ThuBi

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
(No subject)
« Reply #1 on: May 06, 2004, 01:40:47 am »
Well, it seems Slack will solve the problem. I\'ve upgraded to -current and the cvs version (compiled previously) starts very well. I could\'t login yet... :P

So, upgrade you Slack to -current (warning: may be still unstable)

Pyronion

  • Hydlaa Resident
  • *
  • Posts: 63
    • View Profile
(No subject)
« Reply #2 on: May 06, 2004, 11:43:10 pm »
I thinks it all while be helped when the new version comes ^^
And that, as the say, is that.

Thnx Mog ^^

iplaysax

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
(No subject)
« Reply #3 on: May 07, 2004, 05:43:36 am »
Time of test: the last 48 hours (May 5-6 2004)
OS: Gentoo GNU/Linux with the 2.6.5 kernel
Processor: Pentium 4
RAM: 256M
Video Card: NVidia GeForce
Video Card Memory: ?
PS Client Version: 0.2.010-r1
OpenGL or Safe Mode: same results with both
Description of the bug: Fonts do not render at all.

I had exactly the same problem, Neelo5000, except nothing I do can even make the fonts _at all_. I tried moving the /opt/planeshift/data/ttf directory to no avail (and then moved it back, of course). I cannot seem to tell the client to look elsewhere for its fonts. Another Gentoo user experienced a similar problem, but, like you, he was able to make the fonts render, albeit incorrectly. Here is a link to the Gentoo forum, where I posted a request for help:

http://forums.gentoo.org/viewtopic.php?t=169992&highlight=

As of the time of this post, only one person has replied to my Gentoo forum post, and no one has found a solution.
« Last Edit: May 07, 2004, 07:55:59 am by iplaysax »

icebr4kr

  • Hydlaa Resident
  • *
  • Posts: 128
    • View Profile
(No subject)
« Reply #4 on: May 09, 2004, 03:35:42 pm »
In Slack 9.1, it seems the freetype2 libraries are outdated.  Try getting a newer version:
http://sourceforge.net/project/showfiles.php?group_id=3157&package_id=3121

Good luck.