Ralph Giles
17904a107a
Document that FT_Get_X11_Font_Format() is a general call.
...
This function was originally added to return the underlying font
format in a way which was compatible with the needs of the XFree86
font server. However, a function of this sort is also necessary when
freetype is used by PDF interpreters which apply different rules
based on the font format.
The X11 namespace is confusing for such users. This commit ameliorates
that confusion by documenting that this function is in fact entirely
internal to freetype and doesn't depend on X11 in any way.
16 years ago
Werner Lemberg
d77cd8ce7e
Fix rendering of horizontally compressed CFFs.
...
Bug reported by Ivan Nincic <inincic@pdftron.com>.
* src/cff/cffgload.c (cff_slot_load): Thinko: Check `xx' element of
`font_matrix' also.
* docs/CHANGES: Updated.
16 years ago
Su Yu
efaf5abcf8
Don't call `ft_fseek' every time when executing `ft_fread'.
...
* src/base/ftstream.c (FT_Stream_Seek), src/base/ftsystem.c
(ft_ansi_stream_io): Implement it.
16 years ago
suzuki toshiya
2b6a3f0be9
sfnt: Cast a charcode to 32-bit in cmap format 14 parser.
16 years ago
suzuki toshiya
9b1aab8d1e
sfnt: Cast a charcode to 32-bit in cmap format 12 parser.
16 years ago
suzuki toshiya
e6d0c1fb9c
psaux: Fix a few casts to FT_Int32 value.
16 years ago
suzuki toshiya
b76c3f718d
sfnt: Fix a data type mismatching with its source.
16 years ago
suzuki toshiya
2a2beb47c4
sfnt: Extend a few local variables to load 32-bit values.
16 years ago
suzuki toshiya
3783dac000
pfr: Extend `num_aux' to take 32-bit value.
16 years ago
suzuki toshiya
3bda1f9949
pcf: Truncate FT_ULong `nprops' to fit to int PCF_Face->nprops.
16 years ago
suzuki toshiya
8eb551f1b3
gxvalid: Extend a few local variables to reduce the casts.
16 years ago
suzuki toshiya
d365997759
gxvalid: Extend `settingTable' to take 32-bit offset.
16 years ago
suzuki toshiya
6e2375f72c
autofit: Cast FT_Long glyph_count to compare with FT_UInt GID.
16 years ago
suzuki toshiya
057bc4c071
smooth: Exclude 16-bit system in invalid pitch/height check.
16 years ago
suzuki toshiya
b16a942671
cff: Type large constants > 0x7FFF as long for 16-bit systems.
16 years ago
suzuki toshiya
5133c56f2f
base: Remove an unused variable.
16 years ago
suzuki toshiya
5d3ff05615
cache: Check higher bits in flags for non ILP32 systems.
16 years ago
suzuki toshiya
61adbe980a
sfnt: Ignore invalid GIDs in glyph name lookup.
16 years ago
suzuki toshiya
eec405540d
pcf: Fix a comparison between FT_Long and FT_ULong.
16 years ago
suzuki toshiya
eceaffef3e
gxvalid: Guarantee `nFeatureFlags' size up to 32-bit.
16 years ago
suzuki toshiya
cad4f91555
sfnt: Insert explicit cast for LP64 system.
16 years ago
suzuki toshiya
2f07c57f5a
gxvalid: Guarantee `just' table size upto 32-bit.
16 years ago
suzuki toshiya
205a2a0cce
gxvalid: Guarantee `trak' table size upto 32-bit.
16 years ago
suzuki toshiya
49740490e1
type1: Fix a data type mismatching with its source.
16 years ago
suzuki toshiya
737634e5e4
pfr: Fix a data type mismatching with its source.
16 years ago
suzuki toshiya
b12b8c3ce4
pfr: Fix a data type mismatching with its source.
16 years ago
suzuki toshiya
c4420d97f4
pfr: Fix a data type mismatching with its source.
16 years ago
suzuki toshiya
471980d9dc
smooth: Improve the format in debug message.
16 years ago
suzuki toshiya
0105905052
sfnt: Fix a data type mismatching with its source.
16 years ago
suzuki toshiya
cf31edf5ee
psaux: Fix a data type mismatching with its source.
16 years ago
suzuki toshiya
ec7bc863fb
truetype: Extend TrueType GX packed deltas to FT_Offset.
16 years ago
suzuki toshiya
5668181bda
truetype: Extend mmvar_len to hold size_t values.
16 years ago
suzuki toshiya
a115142057
truetype: Check invalid function number in IDEF instruction.
16 years ago
suzuki toshiya
d1c23082b6
truetype: Check invalid function number in FDEF instruction.
16 years ago
suzuki toshiya
9206eba291
truetype: Truncate the deltas of composite glyph at 16-bit values.
16 years ago
suzuki toshiya
1b6f1d20b5
truetype: Truncate the instructions upto 16-bit per a glyph.
16 years ago
suzuki toshiya
6dc27526a9
truetype: Cast the numerical operands to 32-bit for LP64 systems.
16 years ago
suzuki toshiya
3b56c4d390
truetype: Cast the project vector to 32-bit for LP64 system.
16 years ago
suzuki toshiya
9fc4094375
truetype: Cast the scaling params to 32-bit for LP64 system.
16 years ago
suzuki toshiya
c9c6438840
sfnt: Cast a character code to FT_UInt32 for LP64 system.
16 years ago
suzuki toshiya
3f0182afb2
sfnt: Cast a character code to FT_UInt32 for LP64 system.
16 years ago
suzuki toshiya
9c1aac0011
sfnt: Extend TT_BDF->strings_size to FT_ULong for huge BDF.
16 years ago
suzuki toshiya
259568cf68
psaux: Handle the string length by FT_Offset variables.
16 years ago
suzuki toshiya
75d56e5d79
pcf: Fix some data types mismatching with their sources.
16 years ago
suzuki toshiya
c595c06c61
pcf: Handle the string length by size_t variables.
16 years ago
suzuki toshiya
78ba8a610c
pcf: Fix some data types mismatching with their sources.
16 years ago
suzuki toshiya
52170ac0ce
otvalid: Truncate the glyph index to 16-bit.
16 years ago
suzuki toshiya
f7c6b11691
cache: Insert explict casts for LP64 systems.
16 years ago
suzuki toshiya
ed1d359025
cache: Fix some data types mismatching with their sources.
16 years ago
suzuki toshiya
3f0f2e462b
XXX_cmap_encoding_char_next() return FT_UInt32 values.
16 years ago