aspose file tools*
The moose likes Linux / UNIX and the fly likes Font installation in UNIX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Font installation in UNIX" Watch "Font installation in UNIX" New topic
Author

Font installation in UNIX

Andres Delrotti
Ranch Hand

Joined: Aug 11, 2005
Posts: 138
hello...

We just migrated our application to an application server running in UNIX (it was running on windows before). With this, we need to do some font installation in the machine. This will be used by our application in printing bar codes. The problem is since I rarely work on UNIX machines, I find it hard to understand installation instruction in the net pertaining to the set up of fonts in UNIX.

Based on what I have researched, all seem to say that these steps are needed

1. Secure the font files (.ttf files)
2. Place them under the TrueType folder in the machine (under /usr folder)
3. Run ttmkfdir
4. Restart font server

I get that but my question is about the font server. Are x-font servers installed in Unix machines by default? and we just need to activate them? or do they need to be installed manually?

Do all x-font servers in UNIX support truetype fonts? or would that depend on the version?

I really don't get this x-font servers (XFS) thing.

I would appreciate any inputs from you guys. Thanks.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

Fonts in Unix/Linux can be very confusing. There were actually several generations of attempts at providing fonts, the mechanisms and storage locations were different, and even the clients varied. Some mechanisms were for the benefit of non-GUI systems (for example, TeX), some were usable by only a selected set of GUI apps, some were universal.

Things have pretty much stabilized in recent years, but remnants of the older systems remain for legacy purposes.

X-font servers are not installed on the system "by default", unless your "default" was a graphical (X) install or at least contained graphical support as a standard feature.

Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Font installation in UNIX