From 940a385af7234e3099d9c573efbf04c2971805480cafb5fd932cd791ce773f3e Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Tue, 1 Oct 2013 11:21:15 +0000 Subject: [PATCH] - workaround to [bnc#840416] as described in comment 20 OBS-URL: https://build.opensuse.org/package/show/M17N/fonts-config?expand=0&rev=34 --- fonts-config | 4 +++- fonts-config.changes | 5 +++++ fonts-config.spec | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/fonts-config b/fonts-config index 580a5fe..69e3094 100644 --- a/fonts-config +++ b/fonts-config @@ -1321,7 +1321,9 @@ sub fix_fonts_scale { # could be used, for example .ttf or .ttc. # Therefore it is better to throw away all entries for .otf fonts if # the freetype module is not used: - if ($extension =~ /otf/i && ! $freetype_module_used) { + # + # UPDATE: freetype_module_used is wrongly detected, freetype is used always + if (0 && $extension =~ /otf/i && ! $freetype_module_used) { if ($VERBOSITY >= $VERBOSITY_DEBUG) { print ".otf won't work without freetype module, discarding $fonts_scale_entries{$xlfd} $xlfd\n"; } diff --git a/fonts-config.changes b/fonts-config.changes index 5f3794d..f868b7b 100644 --- a/fonts-config.changes +++ b/fonts-config.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 1 11:17:00 UTC 2013 - pgajdos@suse.com + +- workaround to [bnc#840416] as described in comment 20 + ------------------------------------------------------------------- Mon Sep 17 08:44:38 UTC 2012 - coolo@suse.com diff --git a/fonts-config.spec b/fonts-config.spec index a71310a..660406f 100644 --- a/fonts-config.spec +++ b/fonts-config.spec @@ -1,7 +1,7 @@ # # spec file for package fonts-config # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed