NAME | SYNOPSIS | AVAILABILITY | DESCRIPTION | OPTIONS | EXIT STATUS | FILES | SEE ALSO
SUNWudct
Beginning from Solaris 2.6, user–defined characters can be handled as separate font files without editing existing font files.
sdtudc_extract is a utility for producing glyph output from font file to the standard output. Beginning from Solaris 8, sdtudc_extract_ps is removed and its functionalities are merged into sdtudc_extract.
Supported types of font file and output are as follows.
Bitmap font file (.bdf, .bdf.Z, .pcf, .pcf.Z)
sdtudc_extract extracts glyphs that correspond to the code point specified in the map file, converts their code point, and outputs them to the standard output in bdf.
When a bitmap font file is given to font_file, sdtudc_extract converts code point of codeset 1 9 ku – 15 ku to codeset 1 85 ku – 91 ku using map file listed below by default. You can change the range and target by modifying the map file.
When no map file is given, search for sdtudc_map is made at first in the directory sdtudc_extract was executed, and if it is not found there, /usr/dt/config/$LANG/sdtudc_map is accessed. If you wish to modify the map file, copy /usr/dt/config/$LANG/sdtudc_map to the working directory and edit the copy. For more informaiton about map file, See sdtudc_map(4).
User-defined character font file (.ps) created with type3creator and fontmanager, and user-defined character font file for Windows9X/NT (.ttf)
By default, sdtudc_extract extracts up to twenty Tyep1 font files with the prefix UDC per each 'ku' according to the total number of 'ku's in the regions for user-defined characters in Solaris 2.6. The following is the example where font file created with font manager is font.ps.
% sdtudc_extract font.ps UDC1.pfa ... Done UDC2.pfa ... Done : UDC20.pfa ... Done |
After the procedure described above, move the extracted Type1 font file to the fixed directory. For more information, see the description for the porting of user-defined character in sdtudctool(1)
Available options are shown below.
Specifies the map file to use for conversion.
Specifies the prefix of Type1 font file to be extracted. If not specified, UDC is used as default.
NAME | SYNOPSIS | AVAILABILITY | DESCRIPTION | OPTIONS | EXIT STATUS | FILES | SEE ALSO