[Debian GNUstep maintainers] Bug#593898: gnustep-back-common: Fails to upgrade in postinst script

Yavor Doganov yavor at gnu.org
Mon Aug 23 18:00:37 UTC 2010


tags 593898 - pending
thanks

Явор Доганов wrote:
> The obvious solution is to run `mknfonts' in a loop, passing it one
> font as argument at a time.

Unfortunately this approach leads to the generation of incomplete
nfont bundles for fonts with multiple variants, and apps abort with
NSException if the font cannot be found (100% guaranteed for DejaVu,
for example).

This happens because mknfonts processes one font file at a time, so
DejaVuSans.nfont/FontInfo.plist ends up with one key instead of 9.

Right now I have no idea how to solve this, I'm afraid...

It's not possible to group arguments by family, because there would be
still some overwriting going on due to families like "DejaVu
Sans,DejaVu Sans Condensed".





More information about the pkg-GNUstep-maintainers mailing list