aster
|
d72dcde96d
Remove useSDF parameter in Text and Text3D classes, now signed distance field font is a bitmap font file with .sdf extension.
|
il y a 11 ans |
aster2013
|
68c879d1fd
Add Use SDF in Text class.
|
il y a 11 ans |
aster
|
0ffbd4d575
Move font face class out of font files.
|
il y a 11 ans |
Lasse Öörni
|
8cc5ad7fd2
Improved and unified API for Text & Text3D: get number of Unicode characters, get width of row by index, get position of character by index, get size of character by index. Store positions & sizes in the same vector to reduce amount of dynamic memory allocations.
|
il y a 12 ans |
Lasse Öörni
|
694e41c42a
If font face uses mutable glyphs, reacquire all glyphs before constructing text batch.
|
il y a 12 ans |
Lasse Öörni
|
0c76216202
Simplify and optimize Text code. If text does not change, do not look up glyphs & kerning each frame. Fix display of wordwrapped right-aligned texts.
|
il y a 12 ans |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
il y a 12 ans |
Lasse Öörni
|
6219289e9f
Optimize text batch preparation by avoiding dynamic allocation each frame. Use last glyph if rendering the same glyph several times in a row. Changed repeated postincrement of a destination pointer to indexing where applicable.
|
il y a 12 ans |
Lasse Öörni
|
eb9bc8847f
UI drawing code cleanup.
|
il y a 12 ans |
Lasse Öörni
|
7a7e86589b
Optimized drawing of color-modified UI quads. UIBatch has new function SetColor() which can be used before drawing with modified color, and which performs the uint-conversion only once. This overrides the element's gradient if any.
|
il y a 12 ans |
Lasse Öörni
|
712345aa56
Added log macros with formatting. Closes #114.
|
il y a 12 ans |
Lasse Öörni
|
ee0e3aa663
Removed the mechanism of binary-serializing resource name hashes instead of resource names. This is to allow correct resource loading from binary scene files on platforms that cannot iterate the resources in the application installation (eg. Android). This also affects networking, downside is increased network payload size when resource attributes are transferred. All binary scenes saved with old Urho versions are also invalidated.
|
il y a 12 ans |
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.
|
il y a 12 ans |
Lasse Öörni
|
ecc37d1f2e
If all font's glyph do not fit into one page, begin filling texture pages dynamically as glyphs are used.
|
il y a 12 ans |
aster2013
|
475ddbe99d
Fixed Text Shadow Effect bug.
|
il y a 12 ans |
Lasse Öörni
|
dbd7687c56
Added configurable Z bias to Text3D effect.
|
il y a 12 ans |
Aster Jian
|
318d2bd5ef
Add TextEffect in Text class.
|
il y a 12 ans |
Wei Tjong Yao
|
02512cecf9
In order to move the out-of-source 'build' directory back to Urho3D project root directory, all the source codes sub-directories are now moved down one level to a new directory under project root called 'Source'.
|
il y a 12 ans |