aboutsummaryrefslogtreecommitdiff
path: root/i18n/fr_FR/resources/grub/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-serif.conf
diff options
context:
space:
mode:
authorLibreboot Contributor <contributor@libreboot.org>2020-03-18 17:20:14 +0100
committerLibreboot Contributor <contributor@libreboot.org>2020-03-18 17:20:27 +0100
commit0f6ea1c9e0a25a9b7546f96f27cef8841f0d09b5 (patch)
treea28b9403123dd6204eb2dd8cb44eada12c169f4b /i18n/fr_FR/resources/grub/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-serif.conf
parent6e5bdd1271059a9c61c80b21001fd3d14ff25045 (diff)
downloadlibrebootfr-0f6ea1c9e0a25a9b7546f96f27cef8841f0d09b5.tar.gz
librebootfr-0f6ea1c9e0a25a9b7546f96f27cef8841f0d09b5.zip
Creation of i18n folder containing translations of the libreboot project. Added french one, not finished.
Diffstat (limited to 'i18n/fr_FR/resources/grub/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-serif.conf')
-rw-r--r--i18n/fr_FR/resources/grub/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-serif.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/i18n/fr_FR/resources/grub/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-serif.conf b/i18n/fr_FR/resources/grub/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-serif.conf
new file mode 100644
index 00000000..cf6caa2c
--- /dev/null
+++ b/i18n/fr_FR/resources/grub/font/dejavu-fonts-ttf-2.34/fontconfig/20-unhint-small-dejavu-serif.conf
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+ <!-- /etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf
+
+ Disable hinting manually at smaller sizes (< 8ppem)
+ This is a copy of the Bistream Vera fonts fonts rule, as DejaVu is
+ derived from Vera.
+
+ The Bistream Vera fonts have GASP entries suggesting that hinting be
+ disabled below 8 ppem, but FreeType ignores those, preferring to use
+ the data found in the instructed hints. The initial Vera release
+ didn't include the right instructions in the 'prep' table.
+ -->
+ <match target="font">
+ <test name="family">
+ <string>DejaVu Serif</string>
+ </test>
+ <test compare="less" name="pixelsize">
+ <double>7.5</double>
+ </test>
+ <edit name="hinting">
+ <bool>false</bool>
+ </edit>
+ </match>
+</fontconfig>