Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

bdf2gdfont.pl(1) [suse man page]

BDF2GDFONT(1)						User Contributed Perl Documentation					     BDF2GDFONT(1)

NAME
bdf2gdfont.pl - Convert X11 "BDF" fonts into a loadable font format for GD. SYNOPSIS
% bdf2gdfont.pl courR12.bdf > courR12.fnt DESCRIPTION
This script converts BDF-style X11 font files into a format that can be loaded by the GD module using the GD::Font->load() method. There are a number of ways to obtain BDF fonts. 1. The font is already present on your system. Some BDF fonts can be found in the standard X11R6 distribution. This script will automatically uncompress gzipped font files if their extension ends with .gz (the gunzip program must be on your path). 2. From a font server. The "fstobdf" utility, a standard X11 utility, will read a named font from the font server of your choice and return it in BDF format. You can pipe it to bdf2gdfont.pl: fstobdf -s fontserverhost:7100 -fn 8x16 | bdf2gdfont.pl > newfont.fnt Use xlsfonts to find out what fonts are available. Most fonts will have long names like -B&H-LucidaTypewriter-Bold-R-Normal-Sans-18-180-75-75-M-110-ISO8859-10. 3. Using the pcf2bdf utility. Some fonts are only available in PCF (compiled) format. To obtain these, you can either turn on a font server and follow recipe (2), or use TAGA Nayuta's pcf2bdf utility. This utility is available from http://www.tsg.ne.jp/GANA/S/pcf2bdf/ (page is in Japanese, but you can find the download link). Limitations This font converter only works with fixed-width fonts. If used with a TrueType or proportional font it will die with an error message. SEE ALSO
GD AUTHOR
Lincoln Stein <lstein@cshl.org>, heavily adapted from bdftogd from Jan Pazdziora <adelton@fi.muni.cz>. Copyright (c) 2004 Cold Spring Harbor Laboratory This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.1 2010-07-05 BDF2GDFONT(1)

Check Out this Related Man Page

FSTOBDF(1)						      General Commands Manual							FSTOBDF(1)

NAME
fstobdf - generate BDF font from X font server SYNOPSIS
fstobdf [ -server servername ] -fn fontname DESCRIPTION
The fstobdf program reads a font from a font server and prints a BDF file on the standard output that may be used to recreate the font. This is useful in testing servers, debugging font metrics, and reproducing lost BDF files. OPTIONS
-server servername This option specifies the server from which the font should be read. servername must be specified in one of the formats defined in the Font Server Names section of X(7). If not specified, the server name in the FONTSERVER environment variable is used. -fn fontname This option specifies the font for which a BDF file should be generated. ENVIRONMENT
FONTSERVER The default server to use. The server name must be specified in one of the formats defined in the Font Server Names section of X(7). SEE ALSO
xfs(1), bdftopcf(1), showfont(1), fslsfonts(1), X(7). AUTHOR
Olaf Brandt, Network Computing Devices Dave Lemke, Network Computing Devices Jim Fulton, MIT X Consortium X Version 11 fstobdf 1.0.3 FSTOBDF(1)
Man Page

10 More Discussions You Might Find Interesting

1. Solaris

Installing font package

Hi All, Where do I find/download this font package 'FONT_FAMILY_SANS_SERIF-FONT_STYLE_NORMAL-14' and how to install it ? When I run an osi utility (ftamtool) it shows me this error: ##FTAM Tool : XView ERROR XView warning: Impossible de charger le jeu de caractères 'FONT_FAMILY_SANS_SERI... (0 Replies)
Discussion started by: andryk
0 Replies

2. UNIX for Dummies Questions & Answers

Font Setting in a CSV file through script

Hi, Please help me in setting the font in a CSV file through shell script..... I tried xset it throws me an error that reads Cant open display "" Is there any other way to set fonts like Caps & Character size etc.. I appreciate if anyone could help me. :cool: Cheers ;)... (0 Replies)
Discussion started by: srikanthdbn
0 Replies

3. UNIX for Advanced & Expert Users

gunzip: unexpected end of file

Ok, I sent several gzipped files using the UNIX "mail" utility without any special settings (bad idea). When I saved these files from my mail and tried to gunzip them, I would get something like the following error: gunzip: wmGrep.mel.gz: unexpected end of file Ok, I messed up. But is it... (4 Replies)
Discussion started by: sicjedi
4 Replies

4. Solaris

read a path

Hi I'm trying to write a script in which,if i log onto a particular server,the script should automatically find the server i'm on (which is the source server).We can find it frm the path /transfer/common/utilities/env_params.txt please help me as to how start with this,shall i use the read cmmnd... (2 Replies)
Discussion started by: bkan77
2 Replies

5. UNIX for Advanced & Expert Users

Unix Citrix font problem

Hello world! I have a problem with my solaris 8 and 9 machines running Citrix server, the fonts in X applications are hard to read and faulty scaled. Anybody know how to turn om some kind of anti-aliasing or font smoothing? /David (0 Replies)
Discussion started by: Esaia
0 Replies

6. AIX

bdf -h in AIX server

Previously i was using bdf -h in Solaris server. Now i have moved to AIX server and i would like to know equialent to "bdf -h" in AIX server. Please help me. Thanks in Advance. I am expecting output as below Filesystem size used avail capacity Mounted on /dev/vx/dsk/vg04/t1... (3 Replies)
Discussion started by: Bala37
3 Replies

7. Shell Programming and Scripting

regex to find font class

So, I need to find the instances of a certain font and remove it....so far in my testing I am using the find command with regex to find a font I want to pull out. However, I seem to be slightly stuck, and I am sure the beard stroking Unix geniuses here can help me. My example code: find... (7 Replies)
Discussion started by: tlarkin
7 Replies

8. Shell Programming and Scripting

Formatting BDF output

Hello people. First of all I googled my problem and even found answers in this forum. Unfortunatelly my problem is not solved. When the lenght of the filesystem is too big the output of bdf wraps into another line. e.g.: Filesystem kbytes used avail %used Mounted on... (5 Replies)
Discussion started by: drbiloukos
5 Replies

9. Shell Programming and Scripting

Problem with a BDF script...

Hi, I'm trying to use an old script I found of the internet a while back, I forget where its from. Its supposed to convert the bdf function and display filesystem size in MB's and line it up however it never worked... Here is the error: And here is the code: #!/usr/bin/sh echo... (3 Replies)
Discussion started by: zixzix01
3 Replies

10. UNIX for Advanced & Expert Users

HP-UX: Problem viewing directory with BDF...

Hi all, When I use BDF command on this particular server, it outputs mostly normal stuff. However, there is one directory it can't read at all. Also, it doesn't seem to exist. When I BDF my file system with a small panic script (it happens even if you use just the bdf command): As you... (17 Replies)
Discussion started by: zixzix01
17 Replies