fix tdf#88855: GetEnglishSearchFontName() returns incorrect value

Desktop / LibreOffice - Tomofumi Yagi [mknada.sakura.ne.jp] - 30 January 2015 05:37 UTC

GetEnglishSearchFontName() returns incorrect value for specific localized font name as parameter(ex."HGS Gothic M"). Because, the conversion table "aImplLocalizedNamesList[]" is wrong.

http://opengrok.libreoffice.org/xref/core/unotools/source/misc/fontdefs.cxx#181

This causes the assertion from vcl/source/font/PhysicalFontFamily.cxx(line:297), and more problems, probably.

This patch fixes two entries in the conversion table. One fixes the assertion, another fixes typo.

Change-Id: I3141bbbb7956608cc59f20ad42c76ef97a42189d Reviewed-on: https://gerrit.libreoffice.org/14244

c8c4e76 fix tdf#88855: GetEnglishSearchFontName() returns incorrect value.
unotools/source/misc/fontdefs.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share