Font that can be used for validating baseline alignments. sajidanwar.com/misc/baseline-diagnostic-font/
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix baseline name for ideographic-over

+6 -6
dist/BaselineDiagnostic.ttf

This is a binary file and will not be displayed.

dist/BaselineDiagnosticAlphabeticZero.ttf

This is a binary file and will not be displayed.

+1 -1
dist/LICENSE.md
··· 1 1 2 2 Copyright (c) 2026, Sajid Anwar. 3 3 4 - This Font Software is licensed under the SIL Open Font License, Version 1.1. 4 + This Font Software is licensed under the SIL Open Font License, Version 1.1. 5 5 This license is copied below, and is also available with a FAQ at: 6 6 https\://openfontlicense.org 7 7  
+1 -1
dist/README.md
··· 15 15 | Baseline/Metric | Coordinate | BASE Value | OS/2 Value | hhea Value | 16 16 |-------------------|------------|------------|----------------|------------| 17 17 | ascent | 800 | | sTypoAscender | ascent | 18 - | ideographic-over | 750 | Idtp | | | 18 + | ideographic-over | 750 | idtp | | | 19 19 | hanging | 650 | hang | | | 20 20 | cap-height | 550 | | sCapHeight | | 21 21 | math | 450 | math | | |
+4 -4
main.py
··· 8 8 [ 9 9 FontBaseline("OS/2", "sTypoAscender", None, 800, None), 10 10 FontBaseline("hhea", "ascent", None, 800, None), 11 - FontBaseline("BASE", "Idtp", "IDEOGRAPHIC-OVER", 750, FontBaselineStyle.SOLID), 11 + FontBaseline("BASE", "idtp", "IDEOGRAPHIC-OVER", 750, FontBaselineStyle.SOLID), 12 12 FontBaseline("BASE", "hang", "HANGING", 650, FontBaselineStyle.SOLID), 13 13 FontBaseline("OS/2", "sCapHeight", "CAP-HEIGHT", 550, FontBaselineStyle.SOLID), 14 14 FontBaseline("BASE", "math", "MATH", 450, FontBaselineStyle.SOLID), ··· 33 33 [ 34 34 FontBaseline("OS/2", "sTypoAscender", None, 800, None), 35 35 FontBaseline("hhea", "ascent", None, 800, None), 36 - FontBaseline("BASE", "Idtp", "IDEOGRAPHIC-OVER", 750, FontBaselineStyle.SOLID), 36 + FontBaseline("BASE", "idtp", "IDEOGRAPHIC-OVER", 750, FontBaselineStyle.SOLID), 37 37 FontBaseline("BASE", "hang", "HANGING", 650, FontBaselineStyle.SOLID), 38 38 FontBaseline("OS/2", "sCapHeight", "CAP-HEIGHT", 550, FontBaselineStyle.SOLID), 39 39 FontBaseline("BASE", "math", "MATH", 450, FontBaselineStyle.SOLID), ··· 99 99 | Baseline/Metric | Coordinate | BASE Value | OS/2 Value | hhea Value | 100 100 |-------------------|------------|------------|----------------|------------| 101 101 | ascent | 800 | | sTypoAscender | ascent | 102 - | ideographic-over | 750 | Idtp | | | 102 + | ideographic-over | 750 | idtp | | | 103 103 | hanging | 650 | hang | | | 104 104 | cap-height | 550 | | sCapHeight | | 105 105 | math | 450 | math | | | ··· 134 134 f.write(dedent(r''' 135 135 Copyright (c) 2026, Sajid Anwar. 136 136 137 - This Font Software is licensed under the SIL Open Font License, Version 1.1. 137 + This Font Software is licensed under the SIL Open Font License, Version 1.1. 138 138 This license is copied below, and is also available with a FAQ at: 139 139 https\://openfontlicense.org 140 140