Commit Graph

113 Commits

Author SHA1 Message Date
Sean Barrett
8cf07e85c8 rename stbtt_PackSetSkipMissingGlyphs to stbtt_PackSetSkipMissingCodepoints 2019-02-07 09:21:17 -08:00
Sean Barrett
c35d1dd8ad stb_truetype: runtime selection of skipping missing codepoints 2019-02-07 09:20:11 -08:00
Sean Barrett
eaf78c10b6 Merge branch 'truetype-skip_missing_glyphs' of https://github.com/ocornut/stb into working 2019-02-07 09:04:23 -08:00
Sean Barrett
09998eb596 Merge branch 'truetype-comment' of https://github.com/ocornut/stb into working 2019-02-07 06:05:47 -08:00
Sean Barrett
94f93a86e7 Merge branch 'truetype-warnings' of https://github.com/ocornut/stb into working 2019-02-07 06:02:51 -08:00
Sean Barrett
3005bcfe87 Merge branch 'misc-typos' of https://github.com/luzpaz/stb into working 2019-02-07 05:00:12 -08:00
Sean Barrett
27460c23a6 stb_truetype: allow getting font metrics without explicitly opening file 2019-02-07 04:41:26 -08:00
Omar
886cca8f15 stb_truetype: stbtt_PackFontRanges skip missing glyphs. 2018-05-07 16:29:36 +02:00
Omar Cornut
cc99df4b48 stb_truetype: added comment about stbtt_FindGlyphIndex() return value. 2018-03-08 17:14:31 +01:00
Omar Cornut
4716080627 stb_truetype: fix unused variable warning when asserts are disabled. 2018-02-23 11:11:05 +01:00
luz.paz
622b3adad3 Misc. comment typos
Found via `codespell -q 3`
2018-02-12 14:54:22 -05:00
Sean Barrett
0c11c4f1b6 rework GPOS support for old non-declare-anywhere C 2018-02-11 11:53:29 -08:00
Sean Barrett
6d59a4913f Merge branch 'stb-truetype-gpos-request' of https://github.com/danielmaciel/stb into working 2018-02-11 11:44:27 -08:00
Sean Barrett
48168170a1 stb_truetype: add STBTT_fmod 2018-01-30 17:05:57 -08:00
Daniel Ribeiro Maciel
e460d1a8d8 Add basic GPOS kerning 2018-01-30 00:12:46 -02:00
Sean Barrett
87352fdcb5 stb_truetype: fix bug in handling of stbtt_hheap that could cause severe badness 2018-01-29 07:44:54 -08:00
Sean Barrett
3f01acced4 stb_textedit: allow overriding key-input typedef 2018-01-29 05:39:48 -08:00
Sean Barrett
76ec599c68 stb_truetype - remove duplicate definition 2018-01-29 05:03:38 -08:00
Sean Barrett
ee0ebfc79b version numbers 2018-01-29 04:59:32 -08:00
Sean Barrett
4254a9f237 stb_truetype credits 2018-01-29 03:59:48 -08:00
Sean Barrett
8732cff6c4 Merge branch 'winding-lengths-warning' of https://github.com/RobLoach/stb 2018-01-29 03:59:17 -08:00
Sean Barrett
501e29b245 stb_truetype.h docs 2018-01-29 03:36:23 -08:00
Sean Barrett
0b8b3f2876 Merge branch 'stb_truetype_fixes_20171104' of https://github.com/kphillisjr/stb 2018-01-29 03:32:11 -08:00
Rob Loach
5c2c826df9
stb_truetype: Silence warnings of winding_lengths
Coverty scan shows potential warnings of winding_lengths. Forcing it to be a NULL fixes the issue.
2017-12-24 13:59:30 -05:00
Kenney Phillis Jr
6e50ac7860 stb_truetype: Fix undefined function warning
This fixes the error in bug report #516. This should work as intended
since the function definitions line up.
2017-11-04 03:35:02 -05:00
Dougall Johnson
1f2b4271e3 stb_truetype: Fix CFF GetGlyphBox optional params
Fixes #404
2017-10-14 11:59:09 +11:00
Dougall Johnson
84fd09ea53 stb_truetype: Fix sign error in CFF push immediate 2017-10-14 11:58:03 +11:00
Sean Barrett
555efbedfc Update version numbers 2017-07-23 14:09:39 -07:00
Fabian Giesen
b1d058e5c7 stb_truetype: Fix typo, as pointed out by oyvindjam.
Fixes #471.
2017-07-22 19:37:03 -07:00
Fabian Giesen
30c7c6b583 stb_truetype: Support reading OS/2 vertical metrics
...as present in MS TrueType files. Since this table is optional,
the new stbtt_GetFontVMetricsOS2 has a return value and can fail.
This is a replacement for pull request #463.

Fixes #463.
2017-07-22 19:24:41 -07:00
Fabian Giesen
530c05ee61 Merge branch 'stbtt_const_fontdata' of https://github.com/cdwfs/stb into cdwfs-stbtt_const_fontdata 2017-07-22 15:05:56 -07:00
Sean Barrett
423298e071 fix SDF documentation and add example code 2017-07-12 09:27:04 -07:00
Sean Barrett
38479bc58c stb_truetype version number 2017-07-12 07:25:20 -07:00
Sean Barrett
9a2e92e818 SDF documentation 2017-07-12 07:10:13 -07:00
Sean Barrett
fa98e4f6cf Merge branch 'master' into sdf
Conflicts:
	stb_truetype.h
2017-07-12 06:42:02 -07:00
Sean Barrett
5defc65c23 Initial SDF support 2017-07-12 06:34:52 -07:00
Cort
f3d8e52ddc stb_truetype: fontdata can be const in stbtt_PackFontRange[s]() 2017-03-28 21:36:54 -07:00
Sean Barrett
0c1232f576 version number 2017-03-03 09:37:50 -08:00
Sean Barrett
b280541e6a Merge branch 'stbtt_const_chardata' of https://github.com/cdwfs/stb into working 2017-03-03 09:35:11 -08:00
Sean Barrett
e248e30954 change license to public-domain AND mit (based on twitter vote) 2017-03-03 07:53:07 -08:00
Cort
f5519a8f85 stbtt: chardata can be const in GetBakedQuad() and GetPackedQuad() 2017-02-13 18:30:25 -08:00
Sean Barrett
96620a3a54 update version numbers 2017-01-16 00:51:24 -08:00
Sean Barrett
0bd0a9abc4 stb_truetype: comment typo
stb_c_lexer: end-of-array wrapped overflow bug
2017-01-16 00:11:58 -08:00
Dougall Johnson
9bb7f80cb8 stb_truetype: Fix a couple of CFF bugs
The CFF/Type 2 changes broke including without STB_TRUETYPE_IMPLEMENTATION defined, and had a typo. Sorry!
2017-01-03 13:08:05 +11:00
Sean Barrett
4f2324c6ad Merge branch 'num-fonts' of https://github.com/IntellectualKitty/stb into working
Conflicts:
	stb_truetype.h
2017-01-02 15:22:16 -08:00
Sean Barrett
cca943e78a version history 2017-01-02 15:18:52 -08:00
Sean Barrett
834199151e Merge branch 'is-apple-font' of https://github.com/IntellectualKitty/stb into working 2017-01-02 15:16:33 -08:00
Sean Barrett
3d1c790e96 version history 2017-01-02 15:16:22 -08:00
Sean Barrett
d0b576c474 update stb_truetype version 2017-01-02 15:12:18 -08:00
Sean Barrett
ad6614ad9f Merge branch 'cff-type2' of https://github.com/dougallj/stb into type2
Conflicts:
	stb_truetype.h
2017-01-02 15:10:20 -08:00