Skip to content

Instantly share code, notes, and snippets.

@jerinphilip
Created February 27, 2016 08:23
Show Gist options
  • Save jerinphilip/ce70457724fa77603e2b to your computer and use it in GitHub Desktop.
Save jerinphilip/ce70457724fa77603e2b to your computer and use it in GitHub Desktop.
Snippet to match helvetica to a desired font
<!-- Add the below rule to /etc/fonts/fonts.conf or ~/.fonts.conf -->
<match target="pattern">
<test qual="any" name="family"><string>helvetica</string></test>
<edit name="family" mode="assign" binding="same"><string>Open Sans</string></edit>
</match>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment