Skip to content

Commit

Permalink
Change font size calculation
Browse files Browse the repository at this point in the history
We should set a minimum of 28 pixels / 21 points to avoid illegible
Syriac letters. This change does away with the 2.0 doubling for now.
  • Loading branch information
esoleyman committed Apr 18, 2022
1 parent d12e83f commit 2c33d1b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion 65-fonts-syriac.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,27 @@
below them, as such the most common elements are smaller to others.
Because the height of the fonts needs to fit within the body size,
Syriac looks smaller than latin at the same point size.
Default is 28 pixels / 21 points
-->
<match target="font">
<test name="lang" compare="contains">
<string>syr</string>
</test>
</test>
<test qual="any" name="pixelsize" compare="less">
<double>28</double>
</test>
<edit name="pixelsize" mode="assign">
<double>28</double>
</edit>
<!--
<edit name="pixelsize" mode="assign">
<times>
<name>pixelsize</name>
<double>2.0</double>
</times>
</edit>
-->
</match>


Expand Down

0 comments on commit 2c33d1b

Please sign in to comment.