Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ typeface(7) — NEWS-os 4.2.1R

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cdff(5)

utoc(1)

fonttab(5)

TYPEFACE(7)  —  NEWS-OS Programmer’s Manual

NAME

typeface − typeface codes of CDFF and CDIF

DESCRIPTION

In CDFF and CDIF file format, typeface codes of characters are also defined.  The codes and names of currently supported typefaces are listed below. 

 CodeTypeface
 (2-byte codes)
0x01000Mincho
0x02000Gothic
 DN family
0x00101006DN Mincho light
0x00101002DN Mincho bold
0x00102004DN Gothic medium
0x00102002DN Gothic bold
0x00102008DN Gothic extra bold
0x00103006DN Rounded gothic light
0x00103004DN Rounded gothic medium
0x00103002DN Rounded gothic bold
 PMT family
0x00201006PMT Mincho light
0x00201004PMT Mincho medium
0x00201002PMT Mincho bold
0x00202006PMT Gothic light
0x00202004PMT Gothic medium
0x00202002PMT Gothic bold
0x00203006PMT Rounded gothic light
0x00203004PMT Rounded gothic medium
0x00204000PMT Kyokashotai
0x00204010PMT Sei Kaishotai
 Others
(depends on fonttab. See description below)
 (1-byte codes)
0x80100Roman
0x80101Italic
0x80102Bold
0x80500Sans serif
0x80501Sans serif Italic
0x80502Sans serif Bold
All of the above use proportional pitch.
0x80400Typewriter (constant width)
this typeface use fixed character pitch.

Other than this list, as fixed character pitch 1 byte code typefaces, 50% the width of 2 byte code characters can be specified by specifying the code of 2byte code character with 0x80000 added (logically OR’ed). 

Example.
0x81000Hankaku Mincho
(50% the width of 2-byte code Mincho)
0x00282006Hankaku PMT Gothic light
(50% the width of 2-byte code PMT Gothic light)

CDIF processing commands such as lpf_lbpif(8) can print characters in these typefaces when specified.  Hankaku katakana is a 50% width version of the corresponding 2-byte code.  When there is no corresponding font file for the given typeface, another typeface is used instead. 
In some printer filters, interpretation of typeface codes depends on the fonts built in the printer itself. lpf_clsif(8) and lpf_cls3if(8) mostly ignore these typeface codes, and uses the fonts on the printer only.  /usr/sony/etc/fonttab is also installed when installing the Multi Font Set (NWF-629,631-636C). The fonttab describes the typefaces and the codes of the installed font files.  When purchasing the other fonts, please add the description on the fonttab file in installation, consulting the manuals. 

FILES

/usr/sony/include/CDFF/value.h

SEE ALSO

cdff(5), utoc(1), fonttab(5)

NEWS-OSRelease 4.2.1R

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026