UFOND(1) General Commands Manual UFOND(1)NAME
ufond - convert UNIX font files into Macintosh format
SYNOPSIS
ufond [-dfont] [-macbin] [-res] [-script name] fontfile...
DESCRIPTION
The program ufond takes UNIX font files, wraps them in a Macintosh resource fork, creates a family for them, and then wraps that in a
macbinary or binhex file.
The program reads one or more font files, specified at the end of the command line, using any of the following formats:
Glyph Bitmap Distribution (.bdf)
TrueType (.ttf)
OpenType (.otf)
POSTSCRIPT Binary format (.pfb)
All fonts with the same font family name will be placed in the same FOND. The program associates the name of a POSTSCRIPT font with a bit-
map font, as well as handling bold, italic, and other variants properly.
The generated Macintosh files will be in one of three formats:
MacBinary (default)
dfont (data fork resource file format, used by MacOS X)
bare resource fork (you have to know how to transform this into a real resource fork)
The program normally assumes that your fonts are in the roman script system. If this is not true you may specify a script directly. The
program knows the names of a few scripts (greek, cyrillic, hebrew, arabic) which may be entered directly; otherwise you must know the Mac-
intosh script number.
OPTIONS -dfont Generate Macintosh files in dfont format.
-macbin
Generate Macintosh files in MacBinary format.
-res Generate Macintosh files in resource format.
-script name
Specify the Macintosh script number.
AUTHOR
George Williams (gww@silcom.com).
Manual page by Ziying Sherwin (sherwin@nlm.nih.gov) and R.P.C Rodgers (rodgers@nlm.nih.gov), Lister Hill National Center for Biomedical
Communications, U.S. National Library of Medicine.
23 October 2002 UFOND(1)
Check Out this Related Man Page
hpcopy(1) General Commands Manual hpcopy(1)NAME
hpcopy -- copy files from an HFS+ volume
SYNOPSIS
hpcopy [-m | -b | -t | -r | -a ] source-path ... target-path
Description
hpcopy copies files and directories from an HFS+ volume. If multiple files are to be copied, the target path must be a directory.
Since Macintosh files contain two forks, which are not representably in Unix file systems, copies use one of several translation modes:
-m Mac Binary II is a format for binary file transfer. Both forks of the Macintosh file are preserved. This is the recommended
mode for transferring arbitrary Macintosh files.
-b BinHex also preserves both forks of the Macintosh file. In addition, the encoded file contains only ASCII characters, making it
suitable for electronic mail transmission.
-t Text copies only the data fork of the Macintosh file, while the contents of the resource fork are lost. In addition, this mode
translates end-of-line characters. This translation should be used for text files.
-r Raw Data copies only the data fork of the Macintosh file, while the contents of the resource fork are lost.
-a Automatic mode applies a set of predefined heuristics to determine the appropriate translation. This is the default if no mode
is specified.
See alsohfsplus(7), hpmount(1), hpls(1), hpcd(1), hprm(1), hpmkdir(1), hppwd(1), hpumount(1), hpfsck(1).
Author
This manual page was written by Jens Schmalzing <jensen@debian.org> for Debian GNU/Linux using the manual page by Klaus Halfmann <half-
mann@libra.de> that comes with the source code and documentation from the Tech Info Library.
hpcopy(1)
Hi,
In a directory, say
~/dir
is a lot of files and subdirectories. Some of the files are named
res1.om
res2.om
...
res65.om
The amount of files varies. I need a .csh script that deletes all res*.om files except the one with the highest number.
Any suggestions?
Thanks in... (6 Replies)
Hi,
We have a couple of ms excel files in unix server.We need convert the excel files to files TAB limiter format file with using unix script.
Could you please advise on this (2 Replies)
I currently use a unix script to generate a pdf file by calling rwrun.sh. THe data is taken from database with nls_lang = utf8. Currently my UNIX script uses GERMAN_GERMANY.WE8ISO8859P1 and I am getting inverted question marks when I have other language text in my report. What kind of nls_lsng set... (5 Replies)
Hi,
I am having couple of files which i used to copy from windows to Linux, so now in case of text files (CTRL^M) appears at end of line. I know i can convert this windows format file to unix format file by running dos2unix.
My requirement here is that i want to do it automatically using a... (5 Replies)
I must design a UNIX script to monitor files whose size is over a threshold of 5 MB in a specific UNIX directory
I meet a problem during the for loop in my script. Some file names contain spaces.
ls -lrt | awk '$5>=5000000 && length($8)==5 {gsub(/ /,"_",$9); print};'
-rw-r--r-- 1 was61 ... (2 Replies)
Hello all,
First I have an old HP-UX box(11.21) for which I need to implement file-system utilization monitoring. I choosed to use bdf and a simple for loop. However sometimes the output of bdf is as this one(this is actually form linux but the idea is the same)
Filesystem ... (4 Replies)
Hey all,
I would like to ask your help and sorry in advance for my ignorance since I am a complete beginner in this.
I need to create a UNIX script that will:
- scan a small number of folders and subfolders (see a similar file tree in the attachment)
-
- for each final folder (each of... (8 Replies)
Hello,
Currently i have a script which will disply the results in plain text format.
I want to format the result in more readable format like Making bold headings and format with colors etc. Something like html and send that content as email.
Please help me how i can do that.
I am using... (10 Replies)
Hi, I have a UNIX script to fetch all the files for current day. so I am using code--
"files=($(find x.lst -maxdepth 1 -type f -daystart -mtime -1))". But this is not going to work if my job starts at 11 PM and continues till 1AM. In tht case I will loose all files between 11PM to 12AM. Is there... (3 Replies)
Hi All ,
I am aware of unix command ,but not comforable in putting together in script level.I came to situation where I need to compare between two .txt files fieldwise and need a mismatch report. As I am new to unix script arena ,if anyone can help in the below scenario that will be really... (9 Replies)