122 Commits (e92ad330f4bf46b7b8e65c9a4b928c9924661ec7)

Author SHA1 Message Date
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
Vladimír Vondruš fc46801a7e Text: add AbstractFont::glyphCount(). 3 years ago
Vladimír Vondruš 7ead74950b Text: rename AbstractFont::Metrics to Properties. 3 years ago
Vladimír Vondruš 47a1295ab8 Text: port AbstractFont away from STL, adapt to Utility::Unicode changes. 3 years ago
Vladimír Vondruš 5ace409371 Text: removed AbstractFont APIs deprecated in 2019.10. 3 years ago
Vladimír Vondruš bab1559852 Consistently use "out of range" instead of "out of bounds". 3 years ago
Vladimír Vondruš 82691fcd50 Text: full test coverage for the GlyphCache classes. 3 years ago
Vladimír Vondruš 5f59a1bbec Text: check for presence of custom deleters. 3 years ago
Vladimír Vondruš f23ff655fd Text: improve and test an assertion. 3 years ago
Vladimír Vondruš cec98b5278 Text: various minor cleanup. 3 years ago
Vladimír Vondruš bbb54a9df8 It's 2023 already! 3 years ago
Vladimír Vondruš 7547cf8977 Test: use CORRADE_FAIL() where it makes sense. 4 years ago