133 Commits (fd2a1d21aef4ff5a1fa9402e374c7a973a6150af)

Author SHA1 Message Date
Vladimír Vondruš fd2a1d21ae Text: make DistanceFieldGlyphCache processed image upload work on ES2 again. 2 years ago
Vladimír Vondruš 5bb132aeb9 Text: fall back to full RGBA on WebGL 1 or ES2 w/o EXT_texture_rg. 2 years ago
Vladimír Vondruš 9d1f2f9bc9 Text: make AbstractGlyphCache aware of processed image format and size. 2 years ago
Vladimír Vondruš e1c9c4d007 Text: utility for mapping input text byte ranges to output glyphs. 2 years ago
Vladimír Vondruš 2f672eb7de Text: add AbstractShaper::glyphClustersInto(). 2 years ago
Vladimír Vondruš ae2dc091d4 Text: move FeatureRange to Feature.h. 2 years ago
Vladimír Vondruš bc33945d3d Text: introduce Alignment::*Start and *End. 2 years ago
Vladimír Vondruš 477b3109c7 Text: add queries for and search by glyph names to AbstractFont. 2 years ago
Vladimír Vondruš 631b9b8ae5 Text: AbstractFont::fillGlyphCache() overload taking glyph IDs directly. 2 years ago
Vladimír Vondruš 215de4fb62 Text: add a batch AbstractFont::glyphIdsInto() API. 2 years ago
Vladimír Vondruš c56ca4c3f2 Text: return a bool from AbstractFont::fillGlyphCache(). 2 years ago
Vladimír Vondruš 57ca69bc29 Text: flush glyph cache image including padding. 2 years ago
Vladimír Vondruš 263693f2b2 Text: make glyph caches pad by one pixel by default to avoid artifacts. 2 years ago
Vladimír Vondruš 8bd42f5a3b Test: create fake pointer values from size_t, not int. 2 years ago
Vladimír Vondruš 28c693e1bc Text: add a NoCreate constructor to [DistanceField]GlyphCache. 2 years ago
Vladimír Vondruš 695dc1d041 Text: debug output for Alignment. 3 years ago
Vladimír Vondruš d0b792791f Text: taking a pointer in cache.findFont() is stupid, don't. 3 years ago
Vladimír Vondruš 32485baae8 Text: add renderGlyphQuadsInto() overload taking cache-global glyph IDs. 3 years ago
Vladimír Vondruš 00305a7c53 Text: rename test cases to match the actual API being tested. 3 years ago
Vladimír Vondruš 9bc1b9b3b1 Text: separate glyph ID and offset/advance retrieval in AbstractShaper. 3 years ago
Vladimír Vondruš 568a4205a6 Text: new, reusable and composable guts for the Renderer. 3 years ago
Vladimír Vondruš 4383b2fe01 Text: can now test most Renderer APIs without a GL context. 3 years ago
Vladimír Vondruš 0e35c0e761 Text: add a LayoutDirection enum. 3 years ago
Vladimír Vondruš 818442a391 Text: align based just on font metric and cursor by default. 3 years ago
Vladimír Vondruš 0524079d92 Text: further improve test for multiline Renderer. 3 years ago
Vladimír Vondruš 9686ccfd50 Text: the decomposed offsets don't really help anything in the test. 3 years ago
Vladimír Vondruš 8950085c97 Text: rename Direction to ShapeDirection, move to a dedicated header. 3 years ago
Vladimír Vondruš 9a9ad483a3 Text: round the flushed DistanceFieldGlyphCache image range. 3 years ago
Vladimír Vondruš 4363568b86 Text: assert size ratio expectations in DistanceFieldGlyphCache already. 3 years ago
Vladimír Vondruš 202ac59f66 Text: make DistanceFieldGlyphCache work with tight flush rectangles. 3 years ago
Vladimír Vondruš ada0645f34 TextureTools: make DistanceField working with subrectangles. 3 years ago
Vladimír Vondruš eaaa34b3fb Text: rethink AbstractShaper::shape() empty input and failure behavior. 3 years ago
Vladimír Vondruš 15e101dee7 Text: port Renderer away from deprecated APIs. 3 years ago
Vladimír Vondruš ab8dc070c4 Text: new AbstractShaper interface for shaping. 3 years ago
Vladimír Vondruš 5009d38a07 Text: added a Feature enum. 3 years ago
Vladimír Vondruš 03c180d17c Text: added a Script enum. 3 years ago
Vladimír Vondruš 7756b8290e Text: add Alignment::TopCenterIntegral. 3 years ago
Vladimír Vondruš 00e58284e1 Text: rework Renderer tests. 3 years ago
Vladimír Vondruš 43efac8ed3 Text: make GlyphCache movable. 3 years ago
Vladimír Vondruš 2a6ebf091f Text: drop a workaround for zero-size items in GlyphCache reserve(). 3 years ago
Vladimír Vondruš d74fcb7729 Text: port away from deprecated AbstractGlyphCache APIs. 3 years ago
Vladimír Vondruš 6707534ce6 Text: rework AbstractGlyphCache for better flexibility and efficiency. 3 years ago
Vladimír Vondruš 41ef0e2f9e Text: no need to painstakingly fill a cache in AbstractFont test. 3 years ago
Vladimír Vondruš 2bcded5077 Text: stop using naked new. 3 years ago
Vladimír Vondruš 94796dd796 Text: don't attempt to create a zero-size glyph cache in the test. 3 years ago
Vladimír Vondruš d460134122 Text: test glyph cache access with padding included. 3 years ago
Vladimír Vondruš ebe15db906 Text: test with inserting a non-zero glyph and one that is in bounds. 3 years ago
Vladimír Vondruš 2692ff216c Text: use the new landfill packer in AbstractGlyphCache. 3 years ago
Vladimír Vondruš 06d8a80fac Text: properly test AbstractGlyphCache::reserve() behavior. 3 years ago
Vladimír Vondruš a28ebaef84 Text: add AbstractFont::glyphSize(). 3 years ago