[Bug 769827] Re: poppler cannot parse font weight "Medium"

Michael Terry michael.terry at canonical.com
Mon Apr 25 15:52:08 UTC 2011


** Description changed:

- poppler library cannot parse font weight "Medium".
- Therefore in Japanese(ja) locale, characters which are not font-embedded but specified as "GothicBBB" are shown as squares and not readable.
- See attached screenshot.
- https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/769827/+attachment/2086084/+files/actual.png
+ The poppler library cannot parse font weight "Medium". Therefore in
+ Japanese(ja) locale, characters which are not font-embedded but
+ specified as "GothicBBB" are shown as squares and not readable.
  
  GothicBBB is widely used as Japanese sans-serif(gothic) font. It has the
  full name "GothicBBB-Medium-Identity-{H,V}" in properties window on such
  as Evince. But poppler library cannot parse "Medium" string, so does not
  hit <string>GothicBBB</string> in fontconfig settings on
  /etc/fonts/conf.d/69-language-selector-ja-jp.conf.
  
  On the other hand, Ryumin which is widely used as Japanese serif(mincho)
  font has the name "Ryumin-Light-Identity-{H,V}", but does hit
  <string>Ryumin</string>.
  
- How to reproduce:
-  1. intall Ubuntu in Japanese(ja) locale
-  2. confirm poppler-data, ttf-takao-{mincho,gothic} installed and "/etc/fonts/conf.d/69-language-selector-ja-jp.conf -> /etc/fonts/conf.avail/69-language-selector-ja-jp.conf" symlink created.
-  3. open attached PDF file
-     https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/769827/+attachment/2086089/+files/g_non_emb.pdf
+ How to reproduce (assuming that you're not starting in Japanese locale):
+  1. Run Language Selector and install Japanese support.
+  2. sudo apt-get install poppler-data
+  3. sudo fontconfig-voodoo -s ja_JP
+  4. Open attached PDF file:
+     https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/769827/+attachment/2086089/+files/g_non_emb.pdf
  
  Expected:
   all characters are showed properly
-  https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/769827/+attachment/2086087/+files/expected.png
+  https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/769827/+attachment/2086087/+files/expected.png
  
  Actual:
   upper-right characters which are specified as GothicBBB are showed as squares
-  https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/769827/+attachment/2086084/+files/actual.png
+  https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/769827/+attachment/2086084/+files/actual.png
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: poppler-utils 0.16.4-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic i686
  Architecture: i386
  Date: Sun Apr 24 10:09:07 2011
  LiveMediaBuild: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110423)
  ProcEnviron:
   LANGUAGE=ja_JP:en
   LANG=ja_JP.UTF-8
   SHELL=/bin/bash
  SourcePackage: poppler
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
https://bugs.launchpad.net/bugs/769827

Title:
  poppler cannot parse font weight "Medium"

Status in “poppler” package in Ubuntu:
  Triaged

Bug description:
  The poppler library cannot parse font weight "Medium". Therefore in
  Japanese(ja) locale, characters which are not font-embedded but
  specified as "GothicBBB" are shown as squares and not readable.

  GothicBBB is widely used as Japanese sans-serif(gothic) font. It has
  the full name "GothicBBB-Medium-Identity-{H,V}" in properties window
  on such as Evince. But poppler library cannot parse "Medium" string,
  so does not hit <string>GothicBBB</string> in fontconfig settings on
  /etc/fonts/conf.d/69-language-selector-ja-jp.conf.

  On the other hand, Ryumin which is widely used as Japanese
  serif(mincho) font has the name "Ryumin-Light-Identity-{H,V}", but
  does hit <string>Ryumin</string>.

  How to reproduce (assuming that you're not starting in Japanese locale):
   1. Run Language Selector and install Japanese support.
   2. sudo apt-get install poppler-data
   3. sudo fontconfig-voodoo -s ja_JP
   4. Open attached PDF file:
      https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/769827/+attachment/2086089/+files/g_non_emb.pdf

  Expected:
   all characters are showed properly
   https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/769827/+attachment/2086087/+files/expected.png

  Actual:
   upper-right characters which are specified as GothicBBB are showed as squares
   https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/769827/+attachment/2086084/+files/actual.png

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: poppler-utils 0.16.4-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic i686
  Architecture: i386
  Date: Sun Apr 24 10:09:07 2011
  LiveMediaBuild: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110423)
  ProcEnviron:
   LANGUAGE=ja_JP:en
   LANG=ja_JP.UTF-8
   SHELL=/bin/bash
  SourcePackage: poppler
  UpgradeStatus: No upgrade log present (probably fresh install)



More information about the Ubuntu-sponsors mailing list