Skip to content

Commit

Permalink
Increase pixel size, add family specific change
Browse files Browse the repository at this point in the history
Increased the pixelsize doubling to 2.0
Added specific sans-serif, serif settings in addition to language only
(syr)
  • Loading branch information
esoleyman committed Apr 18, 2022
1 parent 84a1db5 commit d12e83f
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions 65-fonts-syriac.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,36 @@
</edit>
</match>

<alias>
<family>serif</family>
<prefer>
<family>preferred_syriac_font</family>
</prefer>
</alias>

<alias>
<family>sans-serif</family>
<prefer>
<family>preferred_syriac_font</family>
</prefer>
</alias>

<!-- Font sizing -->
<!--
Syriac letters have a smaller body relative to the diacritics above and
below them, as such the most common elements are smaller to others.
Because the height of the fonts needs ot fit within the body size,
Because the height of the fonts needs to fit within the body size,
Syriac looks smaller than latin at the same point size.
Default pixelsize is 1.8
-->
<match target="font">
<test name="lang" compare="contains">
<string>syr</string>
</test>
<edit name="pixelsize" mode="assign">
<times><name>pixelsize</name>, <double>1.8</double></times>
<times>
<name>pixelsize</name>
<double>2.0</double>
</times>
</edit>
</match>

Expand Down Expand Up @@ -300,6 +315,5 @@
<edit name="foundry">
<string>meltho</string>
</edit>
</match>

</match>
</fontconfig>

0 comments on commit d12e83f

Please sign in to comment.