Skip to content

Instantly share code, notes, and snippets.

@jbernhard
Created September 3, 2014 15:02
Show Gist options
  • Save jbernhard/fd1567a514cb6f30ac55 to your computer and use it in GitHub Desktop.
Save jbernhard/fd1567a514cb6f30ac55 to your computer and use it in GitHub Desktop.
Scale font size, useful for hidpi.
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font">
<test name="family">
<string>Inconsolatazi4</string>
</test>
<edit name="pixelsize" mode="assign">
<times>
<name>pixelsize</name>
<double>1.25</double>
</times>
</edit>
</match>
</fontconfig>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment