Lasse Öörni
|
d7924f907f
Added glyph offset functionality to Font. Closes #13.
|
11 years ago |
aster
|
d72dcde96d
Remove useSDF parameter in Text and Text3D classes, now signed distance field font is a bitmap font file with .sdf extension.
|
11 years ago |
Lasse Öörni
|
8463393377
Initial resource background loading API and implementation. Background loading-capable implementation for textures (load image in background thread, upload image to GPU in main thread), other resources todo.
|
11 years ago |
aster
|
ebc9e8cc43
Fix typo.
|
11 years ago |
aster
|
a6ce24f82f
Remove unused class declaration.
|
11 years ago |
aster
|
1d8c3b78ba
Add FontFaceBitmap and FontFaceFreeType files.
|
11 years ago |
aster
|
b0b88a5202
Move save bitmap font to FontFaceBitmap.
|
11 years ago |
aster
|
5fab105452
Move load font face code to font face classes.
|
11 years ago |
aster
|
0ffbd4d575
Move font face class out of font files.
|
11 years ago |
aster
|
e0737e6c46
Replace Char event with TextInput event for CJK IME support.
|
11 years ago |
Lasse Öörni
|
5c11a771f3
Properly skip unsupported kerning subtables.
|
11 years ago |
Lasse Öörni
|
d41293899d
Instead of fatal font loading error, skip loading the kerning table if wrong version. Skip over the searchRange, entrySelector & rangeShift fields in kerning data. Sanity check glyph indices in kerning data.
|
11 years ago |
aster2013
|
c5ffddc2bc
Fix out of memory crash when use large font file.
|
11 years ago |
aster
|
489119f1cb
Change lineHeight in savexml.[ci skip[
|
11 years ago |
aster
|
4c6b1e10df
Change lineheight to lineHeight, because bitmap font is generated by external tool, it use lineHeight.[ci skip]
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
8939179787
Refactor to use small case for xml tag and attribute names.
|
11 years ago |
Lasse Öörni
|
973b353a08
Safeguard CollisionShape against empty models to prevent Bullet asserts.
|
11 years ago |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
12 years ago |
Yao Wei Tjong 姚伟忠
|
7f95216d3e
Refactor to use new logging macros with formatting.
|
12 years ago |
Lasse Öörni
|
712345aa56
Added log macros with formatting. Closes #114.
|
12 years ago |
Yao Wei Tjong 姚伟忠
|
65ced72eb9
Enhanced focusable button to be drawned differently when focused.
|
12 years ago |
Lasse Öörni
|
7e0cafaf53
Check font's OS/2 info for possibly larger ascender & descender values. For safety, verify each font glyph's width & height against the actual glyph bitmap width & height. Use the maximum of specified row height or the ascender + descender.
|
12 years ago |
Lasse Öörni
|
840d50ce0d
Allow to force FreeType autohinting (old 2.3 version behavior.) Reload font faces when global font settings changed.
|
12 years ago |
Lasse Öörni
|
7cfb9a85f7
Trust FreeType about the font's row height. Possibly improves issue #13.
|
12 years ago |
Chris Friesen
|
12d22bd8cc
update freetype
|
12 years ago |
Lasse Öörni
|
267523a738
Adapted Aster Jian's mutable glyph mechanism. Globally switchable on from the UI subsystem. Configurable font texture max size in UI subsystem.
|
12 years ago |
Lasse Öörni
|
b1b60edbf4
Code cleanup.
|
12 years ago |
Lasse Öörni
|
ecc37d1f2e
If all font's glyph do not fit into one page, begin filling texture pages dynamically as glyphs are used.
|
12 years ago |
Lasse Öörni
|
9b037e938d
Mono font rendering fix from Aster Jian's font branch.
|
12 years ago |
Wei Tjong Yao
|
e039ba4b29
More useful debug info when loading font face.
|
12 years ago |