···55Font that can be used for validating baseline alignments. This project contains
66the build system for the font using the [fonttools] Python library.
7788+**Built font files can be found in the [./dist](./dist) folder.**
99+810## Building
9111012This project uses [uv] for dependency management. Use `uv run` to build the font
+15-15
dist/README.md
···12121313It has the following baselines:
14141515-| Baseline/Metric | Value | BASE Value | OS/2 Value | hhea Value |
1616-|-------------------|-------|------------|----------------|------------|
1717-| ascent | 800 | | sTypoAscender | ascent |
1818-| ideographic-over | 750 | Idtp | | |
1919-| hanging | 650 | hang | | |
2020-| cap-height | 550 | | sCapHeight | |
2121-| math | 450 | math | | |
2222-| /central/ | 350 | | | |
2323-| /em-middle/ | 300 | | | |
2424-| x-height | 250 | | sxHeight | |
2525-| /x-middle/ | 150 | | | |
2626-| alphabetic | 50 | romn | | |
2727-| /zero/ | | | | |
2828-| ideographic-under | -50 | ideo | | |
2929-| descent | -200 | | sTypoDescender | descent |
1515+| Baseline/Metric | Coordinate | BASE Value | OS/2 Value | hhea Value |
1616+|-------------------|------------|------------|----------------|------------|
1717+| ascent | 800 | | sTypoAscender | ascent |
1818+| ideographic-over | 750 | Idtp | | |
1919+| hanging | 650 | hang | | |
2020+| cap-height | 550 | | sCapHeight | |
2121+| math | 450 | math | | |
2222+| /central/ | 350 | | | |
2323+| /em-middle/ | 300 | | | |
2424+| x-height | 250 | | sxHeight | |
2525+| /x-middle/ | 150 | | | |
2626+| alphabetic | 50 | romn | | |
2727+| /zero/ | | | | |
2828+| ideographic-under | -50 | ideo | | |
2929+| descent | -200 | | sTypoDescender | descent |
30303131The `BaselineDiagnosticAlphabeticZero` variant is the same as `Baseline`,
3232except the alphabetic baseline is at the common value of 0. This also
+15-15
main.py
···96969797 It has the following baselines:
98989999- | Baseline/Metric | Value | BASE Value | OS/2 Value | hhea Value |
100100- |-------------------|-------|------------|----------------|------------|
101101- | ascent | 800 | | sTypoAscender | ascent |
102102- | ideographic-over | 750 | Idtp | | |
103103- | hanging | 650 | hang | | |
104104- | cap-height | 550 | | sCapHeight | |
105105- | math | 450 | math | | |
106106- | /central/ | 350 | | | |
107107- | /em-middle/ | 300 | | | |
108108- | x-height | 250 | | sxHeight | |
109109- | /x-middle/ | 150 | | | |
110110- | alphabetic | 50 | romn | | |
111111- | /zero/ | | | | |
112112- | ideographic-under | -50 | ideo | | |
113113- | descent | -200 | | sTypoDescender | descent |
9999+ | Baseline/Metric | Coordinate | BASE Value | OS/2 Value | hhea Value |
100100+ |-------------------|------------|------------|----------------|------------|
101101+ | ascent | 800 | | sTypoAscender | ascent |
102102+ | ideographic-over | 750 | Idtp | | |
103103+ | hanging | 650 | hang | | |
104104+ | cap-height | 550 | | sCapHeight | |
105105+ | math | 450 | math | | |
106106+ | /central/ | 350 | | | |
107107+ | /em-middle/ | 300 | | | |
108108+ | x-height | 250 | | sxHeight | |
109109+ | /x-middle/ | 150 | | | |
110110+ | alphabetic | 50 | romn | | |
111111+ | /zero/ | | | | |
112112+ | ideographic-under | -50 | ideo | | |
113113+ | descent | -200 | | sTypoDescender | descent |
114114115115 The `BaselineDiagnosticAlphabeticZero` variant is the same as `Baseline`,
116116 except the alphabetic baseline is at the common value of 0. This also