PcfFontFile
index
/Library/Python/2.7/site-packages/PIL/PcfFontFile.py

# THIS IS WORK IN PROGRESS
#
# The Python Imaging Library
# $Id$
#
# portable compiled font file parser
#
# history:
# 1997-08-19 fl   created
# 2003-09-13 fl   fixed loading of unicode fonts
#
# Copyright (c) 1997-2003 by Secret Labs AB.
# Copyright (c) 1997-2003 by Fredrik Lundh.
#
# See the README file for information on usage and redistribution.
#

 
Modules
       
FontFile
Image
string

 
Classes
       
FontFile.FontFile
PcfFontFile

 
class PcfFontFile(FontFile.FontFile)
     Methods defined here:
__init__(self, fp)

Data and other attributes defined here:
name = 'name'

Methods inherited from FontFile.FontFile:
__getitem__(self, ix)
compile(self)
Create metrics and bitmap
save = save1(self, filename)
Save font in version 1 format
save1(self, filename)
Save font in version 1 format
save2(self, filename)
Save font in version 2 format

Data and other attributes inherited from FontFile.FontFile:
bitmap = None

 
Functions
       
b16(c)
b32(c)
l16(c)
l32(c)
sz(s, o)

 
Data
        BYTES_PER_ROW = [<function <lambda>>, <function <lambda>>, <function <lambda>>, <function <lambda>>]
PCF_ACCELERATORS = 2
PCF_BDF_ACCELERATORS = 256
PCF_BDF_ENCODINGS = 32
PCF_BITMAPS = 8
PCF_GLYPH_NAMES = 128
PCF_INK_METRICS = 16
PCF_MAGIC = 1885562369
PCF_METRICS = 4
PCF_PROPERTIES = 1
PCF_SWIDTHS = 64