294 Commits (e86c2a74264d06b2e629514c23e5e4cbfee5fd7c)

Author SHA1 Message Date
Vladimír Vondruš e86c2a7426 Text: document failure state of AbstractFont::createGlyphCache() as well. 2 years ago
Vladimír Vondruš c56ca4c3f2 Text: return a bool from AbstractFont::fillGlyphCache(). 2 years ago
Vladimír Vondruš e92ad330f4 Text: don't link to localized variants of OpenType feature docs. 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š 4435877cf1 Use the new Debug::hex instead of reinterpret_cast<void*>(). 2 years ago
Vladimír Vondruš 2619dc33f1 doc: drop the redundant Magnum prefix from snippet files. 2 years ago
Vladimír Vondruš f64e1ac2c3 Text: fix unused variable warnings in a no-assert build. 2 years ago
Vladimír Vondruš 28c693e1bc Text: add a NoCreate constructor to [DistanceField]GlyphCache. 2 years ago
Vladimír Vondruš 1d2796baed CMake: avoid installed Magnum headers being picked over local ones. 3 years ago
Vladimír Vondruš 695dc1d041 Text: debug output for Alignment. 3 years ago
Vladimír Vondruš 3034e913d8 Text: forward-declare FeatureRange. 3 years ago
Vladimír Vondruš 4197f9379d Doc++ 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š 60f568590f Text: no, the layer isn't ignored anymore. 3 years ago
Vladimír Vondruš 357c63bdbf Text: fix the non-GL build. 3 years ago
Vladimír Vondruš ac35d747fa Text: avoid a temporary allocation for storing glyph info in Renderer. 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š 58e88c177b Text: document that Renderer is only available on GL builds. 3 years ago
Vladimír Vondruš 0e35c0e761 Text: add a LayoutDirection enum. 3 years ago
Vladimír Vondruš f6256359c6 Text: these directionality guarantees are too strong, remove. 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š 6414daf3a9 Text: make internal Alignment values less cryptic. 3 years ago
Vladimír Vondruš 8950085c97 Text: rename Direction to ShapeDirection, move to a dedicated header. 3 years ago
Vladimír Vondruš 13158fb6cd Text: mention the texture coordinate matrix helper in AbstractGlyphCache. 3 years ago
Vladimír Vondruš 68f6d75ee3 Doc++ 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š 688cf84251 Text: work around clang-cl choking on two __declspec attributes. 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š 96d56c6d2f Text: the Renderer can take just AbstractGlyphCache, not GlyphCache. 3 years ago
Vladimír Vondruš 7756b8290e Text: add Alignment::TopCenterIntegral. 3 years ago
Vladimír Vondruš 2867f99138 Text: use Math::join() on ranges instead of custom code. 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