Solved

bitstream-vera font no longer working after upgrade to XFree86 4.4 or Xorg

Posted on 2004-10-15
6
375 Views
Last Modified: 2013-12-03
HI All,

A while back, I was running FreeBSD 5.0 and XFree86 4.3.  I found the bitstream-vera font set and loved it.  Then I upgraded to XFree86 4.4 and all of a sudden the font that I'd become accustomed to stopped working and I started to see this in my logs:

FreeType: couldn't find encoding 'ascii-0' for '/usr/X11R6/lib/X11/fonts/bitstream-vera/VeraMoBd.ttf'

Last week, I wiped my system and reinstalled 5.2.1 and Xorg xwindowing system.  Same damn thing in my logs!  

When I try xfontsel, I see the vera fonts listed, but, when I try to preview them, nothing happens and I get another line of the error metnioned above in my logs.  I've verified that the FreeType module is loaded in my X config file for the system and all the other fonts seem to work.  I've attempted to use ttmkfontdir several times to 'fix it' as other suggestions on the net seem to hint at.  All to no avail :(

Has anyone else had this problem and over come it?

TTFN!
0
Comment
Question by:dragonlord
  • 4
  • 2
6 Comments
 
LVL 61

Expert Comment

by:gheist
ID: 12347502
Somehow I use xfs for font serving (like most linuxes do) with 4.9, and never seen any font problem whatsoever. (5.2.1 is beta version just as 5.0 btw)
0
 
LVL 61

Expert Comment

by:gheist
ID: 12427394
There are two views of font configuration - one is X-servers view, another is Xft-s view, if they differ, the font lists desync
First needs to be put as all directories with fonts.dir files into X config or xfs config
Another recognizes subdirs and is updated with fc-cache -v
0
 
LVL 1

Author Comment

by:dragonlord
ID: 12450293
Yeah, 5.2.1 is beta but, it's working really well except for this crazy problem with the bitstream-vera font.  I've tried fc-cache -v and I've checked that the fonts dir is in the config file.  What a pain :)  When I was running xfree86 4.3 it worked really well and then the upgrade to either xfree86 4.4 or xorg and it fails.  Oh well, I'll get over it.  If you have any other ideas, that'd be great :)  Thanks again!
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 61

Accepted Solution

by:
gheist earned 500 total points
ID: 12451262
cd /usr/X11R6/lib/X11/fonts/bitstream-vera
mkfontscale
mkfontdir

then fc-cache ,and rehash of X-server and/or xfs

???

simply something is really strange - I see all fonts including bitstream vera in all programs using xorg on 4.10, and I am quite sure that 5.2.1 does not break there anything
0
 
LVL 1

Author Comment

by:dragonlord
ID: 12487604
The mkfontscale in conjunction with the fc-cache -v must have done the trick :)  After I read you comment, I ran the commands from home and then the next day, all was well again with my bitstream-vera fonts!  Thanks so much!  I wonder how it got 'wonked up' in the first place.  Thanks!
0
 
LVL 61

Expert Comment

by:gheist
ID: 12491951
To mess things up even more - there is third list of fonts inside ghostscript.... part of universal wysiwg too ..... :-)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now