summaryrefslogtreecommitdiff
path: root/tests/layouts/no-space.layout
Commit message (Collapse)AuthorAgeFilesLines
* Update tests for script removalpango2-cleanupsMatthias Clasen2022-02-171-1/+1
| | | | | Removing PangoScript changed the names we get for scripts here.
* Make missing space smallersmaller-spaceMatthias Clasen2021-12-221-5/+5
| | | | | | | The Microsoft paper I was citing actually recommends 1/4 em for ASCII space. Make it so... Update affected tests.
* Use a better size for missing spaceMatthias Clasen2021-12-211-5/+5
| | | | | | | | | | Follow the Microsoft Typography recommendations from https://docs.microsoft.com/en-us/typography/develop/character-design-standards/whitespace and use half of an em for missing space. Update affected tests. Fixes: #647
* serializer: Fix a typoMatthias Clasen2021-12-181-1/+1
| | | | | | Oops, we were not serializing the height at all. Update all affected tests.
* cairo: Work harder to measure spacemore-space-tweaksMatthias Clasen2021-12-171-6/+6
| | | | | | | | | | | When coming up with a width for a missing space, we were just measuring the hex digits. But in subsetted fonts, such as the ones we use for ci, hex digits might well be missing. Take that into account and still provide some nonzero width for space. Update affected tests.
* shape: More tweaks to space handlingMatthias Clasen2021-12-171-11/+11
| | | | | | | | | | | | | | It is a difficult dance between HarfBuzz and pango which glyphs we let hb synthesize, and which ones we need to fake ourselves. HarfBuzz knows how to create other spaces from 0x20, so if the font is lacking spaces, we want to tell HarfBuzz that we don't have that glyph *except* for 0x20 where we need to fake one, and provide HarfBuzz with a suitable width. Update affected tests.
* Fix handling of space-less fontsfix-spaceless-fontsMatthias Clasen2021-12-161-0/+142
HarfBuzz knows how to synthesize spaces, we just need to tickle it in the right way. Test included. Update affected tests. Fixes: #641