Sean Barrett
e4be8fae2c
fix misplaced STBTT_DEF definition
ago%!(EXTRA string=10 years)
Sean Barrett
a51c2d4ab0
update version number etc
ago%!(EXTRA string=10 years)
Peter LaValle
63550ae9ed
Update stb_truetype.h
...
trivial typo
ago%!(EXTRA string=10 years)
Sean Barrett
8a0a882f53
stb_truetype version update
ago%!(EXTRA string=10 years)
Sean Barrett
a7ee207475
fix missing free in the new rectangle packing
...
remove unneeded (but harmless) statements
ago%!(EXTRA string=10 years)
Sean Barrett
ab6aaa85be
credits, STBTT_STATIC docs
ago%!(EXTRA string=10 years)
unknown
ffe447630d
Couple of places should be using STBTT_memset instead of memset
ago%!(EXTRA string=10 years)
unknown
30eb4371c8
Change double literals 0.5 to float type
ago%!(EXTRA string=10 years)
Cap Petschulat
7579b8a177
Fix the simple truetype example
ago%!(EXTRA string=10 years)
ocornut
45fec17148
stb_truetype: added STBTT_STATIC to make all implementation static
...
Followed the structure used by stb_rectpack.
Functions that had neither extern neither static got STBTT_DEF as well.
ago%!(EXTRA string=10 years)
Sean Barrett
00965512d7
update version number
ago%!(EXTRA string=11 years)
Sean Barrett
26439254e8
fix use of stbrp_coord if no stb_rect_pack;
...
fix a few assert()s that weren't STBTT_asserts();
fix missing cast for C++
fix typo in C++ test compilation that prevented it from trying to compile stb_truetype
ago%!(EXTRA string=11 years)
Sean Barrett
d1c85eac78
update version numbers
ago%!(EXTRA string=11 years)
Sean Barrett
97037461d9
stb_truetype:
...
STBTT_POINT_SIZE
documentation for above
stb_rect_pack:
STBRP_ASSERT
ago%!(EXTRA string=11 years)
Fabian Giesen
82677e5518
stb_truetype: Fix implicit conversion warnings.
ago%!(EXTRA string=11 years)
Fabian Giesen
27974c42f9
stb_truetype: Negative size = pixels for EM square.
ago%!(EXTRA string=11 years)
Fabian Giesen
5f674fc7e5
stb_truetype: Cancel out phase offset from box filter correctly.
ago%!(EXTRA string=11 years)
Sean Barrett
22dbcffef7
stbtt_Pack* documentation
...
oversample test tweaks
ago%!(EXTRA string=11 years)
Sean Barrett
f03e352093
stb_rect_pack: fix LARGE_RECT bug
...
stb_truetype: oversampling, including oversampling demo app
ago%!(EXTRA string=11 years)
Sean Barrett
0a3dd5aff3
new font bitmap baking API
ago%!(EXTRA string=11 years)
Sean Barrett
c32d5c40d2
update version number & contributors
ago%!(EXTRA string=11 years)
Fabian Giesen
f36b7116e2
Fix a few bugs with subpixel shifts, shift_y in particular.
...
1. In the presence of nonzero shift_x / shift_y,
stbtt_GetGlyphBitmapBoxSubpixel would return a nonzero-sized bounding
box for empty glyphs (e.g. spaces). Since such glyphs don't have any
outlines, the rasterizer wouldn't do anything, resulting in a 1x1-pixel
image with uninitialized memory.
2. GetGlyphBitmapBoxSubpixel added shift_y then flipped the y axis,
whereas the rasterizer flipped the y axis then added shift_y.
Consistently flip-then-add in both places. This also makes the pattern
of floors/ceils in GetGlyphBitmapBoxSubpixel simpler.
3. The rasterizer added shift_y after multiplying by the vertical
oversampling factor, instead of before.
Vertical shifts now work much better, in my tests anyway.
ago%!(EXTRA string=11 years)
Sean Barrett
d26beed67d
comments/ version update for platformID = Unicode
ago%!(EXTRA string=11 years)
Sean Barrett
2da2806d20
update version numbers due to warnings/minor fixes
ago%!(EXTRA string=11 years)
HouQiming
8c83fc2bad
Added STBTT_PLATFORM_ID_UNICODE
...
Added a STBTT_PLATFORM_ID_UNICODE clause to support iOS/Mac fonts
ago%!(EXTRA string=11 years)
johan
816ea35435
warn correction
...
gcc warning: unused parameter removed for macro STBTT_free
ago%!(EXTRA string=11 years)
Sean Barrett
d06c987810
update version number
ago%!(EXTRA string=11 years)
Sean Barrett
eb62c741ea
fixed warnings for stb_truetype (fixes all outstanding bug reports)
ago%!(EXTRA string=11 years)
Sean Barrett
9b067cb69c
add stb_truetype
ago%!(EXTRA string=11 years)