---
name: "hackos2.plx"
section: "1p"
platform: "linux"
package: "libfont-ttf-perl"
version: "0.34-4"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/hackos2.plx"
---

# hackos2.plx(1p)

Manipulates OS/2 font tables

## NAME

eurofix.plx - Manipulates OS/2 font tables

## DESCRIPTION

This old favourite lets you do unspeakable things to your OS/2 table,\
     including sorting Unicode range bits and codepage bits (Perl 4)

## SYNOPSIS

HACKOS2 \[-c hex\] \[-d directory\] \[-f fsSelection\] \[-p hex\] \[-q\]\
         \[-t num\] \[-u hex\] \<infile\> \<outfile\>

v1.6.0, 10-NOV-2000  (c) martin\_hosken@sil.org

Hacks the OS/2 table of a ttf file copying from infile to outfile.\
     \-c      change codepage information (a 64 bit hex number)\
     \-d      specifies output directory for processing multiple files. In which\
             case \<outfile\> is not used and \<infile\> may be a list including\
             wildcards.\
     \-f      fsSelection value (16 bit hex) (e.g. 4240 for Thai fonts)\
     \-n      sets usFirstCharIndex given a hex value\
     \-p      change panose info\
                 (10 bytes of hex in reverse order: 0A090807060504030201)\
     \-q      Quiet mode (do not list names as they are processed)\
     \-t      Sets fsType (embedding) information (decimal)\
     \-u      change unicode info (a 128 bit hex number)\
     \-v      sets vendor tag to the first 4 chars of the string\
     \-x      sets usLastCharIndex given a hex value

For example, to convert a Win3.1 ANSI font to Win95 use the following:\
     hackos2 -c01 -u03 old.ttf new.ttf or for a Symbol font use:\
     hackos2 -c80000000 -u0 old.ttf new.ttf Or to revert:\
     hackos2 -cnone other.ttf new.ttf
