iigs
2023-04-12 b7188beea12959a7d8dbe9f2960361d4f62ce490
fontconfig: work-around to fix firefox

Update local.conf

Add files via upload

Update Makefile
1 files added
3 files modified
21 ■■■■■ changed files
components/library/fontconfig/Makefile 1 ●●●● patch | view | raw | blame | history
components/library/fontconfig/files/08-remap-pcf-xorg-fonts.conf 16 ●●●●● patch | view | raw | blame | history
components/library/fontconfig/files/local.conf 2 ●●●●● patch | view | raw | blame | history
components/library/fontconfig/fontconfig.p5m 2 ●●●●● patch | view | raw | blame | history
components/library/fontconfig/Makefile
@@ -19,6 +19,7 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME=        fontconfig
COMPONENT_REVISION=    1
COMPONENT_VERSION=    2.14.2
COMPONENT_SUMMARY=    Fontconfig - Font configuration and customization library
COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
components/library/fontconfig/files/08-remap-pcf-xorg-fonts.conf
New file
@@ -0,0 +1,16 @@
<?xml version="1.0"?>
 <!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
 <fontconfig>
     <alias>
         <family>Courier</family>
         <prefer><family>Liberation Serif</family></prefer>
     </alias>
     <alias>
         <family>Helvetica</family>
         <prefer><family>Liberation Sans</family></prefer>
     </alias>
     <alias>
         <family>Times</family>
         <prefer><family>Liberation Mono</family></prefer>
     </alias>
 </fontconfig>
components/library/fontconfig/files/local.conf
@@ -15,8 +15,6 @@
        <edit mode="assign" name="hintstyle"><const>hintslight</const></edit>
        <edit mode="assign" name="antialias"><bool>true</bool></edit>
        <edit mode="assign" name="lcdfilter"><const>lcddefault</const></edit>
        <!-- Disable emmbedded bitmap for all fonts -->
        <edit mode="assign" name="embeddedbitmap"><bool>false</bool></edit>
        <!-- If the font is bold, turn off autohinting -->
        <test name="weight" compare="more"><const>medium</const></test>
        <edit mode="assign" name="autohint"><bool>true</bool></edit>
components/library/fontconfig/fontconfig.p5m
@@ -23,10 +23,12 @@
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
file files/08-remap-pcf-xorg-fonts.conf path=etc/fonts/conf.avail/08-remap-pcf-xorg-fonts.conf
file files/20-indic.conf path=etc/fonts/conf.avail/20-indic.conf
file files/49-sun-preuser.conf path=etc/fonts/conf.avail/49-sun-preuser.conf
file files/90-sun-prefer-bitmap.conf path=etc/fonts/conf.avail/90-sun-prefer-bitmap.conf
link path=etc/fonts/conf.d/08-remap-pcf-xorg-fonts.conf target=../conf.avail/08-remap-pcf-xorg-fonts.conf
link path=etc/fonts/conf.d/20-indic.conf target=../conf.avail/20-indic.conf
link path=etc/fonts/conf.d/49-sun-preuser.conf target=../conf.avail/49-sun-preuser.conf
link path=etc/fonts/conf.d/90-sun-prefer-bitmap.conf target=../conf.avail/90-sun-prefer-bitmap.conf