[CentOS] Gtkcdlabel + cdlabelgen on CentOS 7 ?

Wed Jan 3 13:40:40 UTC 2018
Nicolas Kovacs <info at microlinux.fr>

Le 03/01/2018 à 14:10, Greg Bailey a écrit :
> I also use fontconfig-infinality, for the same reasons you do.  I have a
> completely different application that failed to render fonts correctly
> until I modified infinality.conf:
> 
> $ diff -u /etc/fonts/infinality/infinality.conf.default
> /etc/fonts/infinality/infinality.conf
> --- /etc/fonts/infinality/infinality.conf.default    2014-07-09
> 16:46:12.000000000 -0700
> +++ /etc/fonts/infinality/infinality.conf    2017-02-07
> 22:15:47.464778485 -0700
> @@ -42,18 +42,6 @@
>      </selectfont>
>      -->
> 
> -    <!-- Ban Type-1 fonts because they render poorly -->
> -    <!-- Comment this out to allow all Type 1 fonts -->
> -    <selectfont>
> -        <rejectfont>
> -            <pattern>
> -                <patelt name="fontformat" >
> -                    <string>Type 1</string>
> -                </patelt>
> -            </pattern>
> -        </rejectfont>
> -    </selectfont>
> -
>      <!-- Globally use embedded bitmaps in fonts like Calibri? -->
>      <match target="font" >
>          <edit name="embeddedbitmap" mode="assign">

That did the trick. Gtkcdlabel works perfectly now.

Thank you very much.

Niki

-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Site : https://www.microlinux.fr
Blog : https://blog.microlinux.fr
Mail : info at microlinux.fr
Tél. : 04 66 63 10 32