[Pkg-fonts-devel] Bug#726979: fonts-khmeros: fontconfig error: out of memory

Theppitak Karoonboonyanan thep at linux.thai.net
Mon Oct 21 08:21:12 UTC 2013


Package: fonts-khmeros
Version: 5.0-6
Severity: normal

Dear Maintainer,

With fontconfig 2.11.0-1, some errors from /etc/fonts/conf.d/65-khmer.conf
appear when starting GUI apps:

  $ gedit
  Fontconfig error: "/etc/fonts/conf.d/65-khmer.conf", line 14: out of memory
  Fontconfig error: "/etc/fonts/conf.d/65-khmer.conf", line 23: out of memory
  Fontconfig error: "/etc/fonts/conf.d/65-khmer.conf", line 32: out of memory

In the file:

  <match target="font">
          <alias>
                  <family>sans-serif</family>
                  <prefer>
                          <family>Khmer OS</family>
                  </prefer>
          </alias>
  </match>

the <match> element is out of place here. (From fonts.dtd, <match> is to
contain <test> and <edit> elements, and the <alias> element is a direct
child of <fontconfig>.)

Removing it makes the errors disappear:

  <alias>
          <family>sans-serif</family>
          <prefer>
                  <family>Khmer OS</family>
          </prefer>
  </alias>

Same for serif and monospace.

Regards,
-- 
Theppitak Karoonboonyanan
http://linux.thai.net/~thep/

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=th_TH.UTF-8, LC_CTYPE=th_TH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information



More information about the Pkg-fonts-devel mailing list