Opened 9 years ago

Closed 9 years ago

#226 closed defect (fixed)

add poppler-data pack to lucide

Reported by: ataylor Owned by:
Priority: minor Milestone: 1.3.3
Component: Plugin: PDF Version: 1.3
Keywords: fonts japanese dbcs Cc:

Description

PDF files with Japanese text that do not embed the required fonts, but specify installed (system) fonts like "MS Mincho" do not display that text under Lucide.

Lucide apparently does not resolve the specified fonts correctly.

Attachments (2)

rim jin bus.pdf (8.3 KB) - added by ataylor 9 years ago.
Sample PDF document using non-embedded "MS PMincho"
lucide.fcf (20.0 KB) - added by ataylor 9 years ago.
LUCIDE.FCF as requested

Download all attachments as: .zip

Change History (13)

Changed 9 years ago by ataylor

Sample PDF document using non-embedded "MS PMincho"

comment:1 Changed 9 years ago by ataylor

  • Keywords fonts japanese dbcs added

The attached document uses appears to use MS Mincho/MS PMincho. I do have these fonts installed locally, but no text appears.

comment:2 Changed 9 years ago by diver

  • Milestone set to Feedback Pending

is this font in lucide.fcf ? could you attach your lucide.fcf?

Changed 9 years ago by ataylor

LUCIDE.FCF as requested

comment:3 Changed 9 years ago by ataylor

MS Mincho is listed. Interestingly, MS PMincho, which is in the same file (MSMINCHO.TTC) is not.

I deleted and forced the recreation of this file a few days ago while testing. It didn't help.

comment:4 Changed 9 years ago by diver

try to add the MS PMincho by hand. just add the same line as for MS Mincho and exchange the font name of course.

comment:5 Changed 9 years ago by diver

  • Milestone changed from Feedback Pending to 1.3.3
  • Priority changed from major to Feedback Pending

comment:6 Changed 9 years ago by ataylor

OK, I've tried adding it. It doesn't seem to help.

comment:7 Changed 9 years ago by diver

  • Resolution set to wontfix
  • Status changed from new to closed

i looked at the file and did some small debug. Adobe has a Adobe-Japan1 language pack. We don't. This pack adds the fonts it seems. The underlaying poppler lib can't handle that. please open a ticket at http://poppler.freedesktop.org/

comment:8 Changed 9 years ago by diver

  • Priority changed from Feedback Pending to minor
  • Resolution wontfix deleted
  • Status changed from closed to reopened
  • Summary changed from Japanese system fonts not loaded, text not rendered to add poppler-data pack to lucide

comment:9 Changed 9 years ago by diver

it seems like the poppler-data pack could resolve such issues. need to investigate a bit more

comment:10 Changed 9 years ago by diver

ok with the poppler-data pack and the qt4 viewer also based on poppler it works. with lucide it doesn't, as lucide internal fontconfig does garbage on japanese fonts.

comment:11 Changed 9 years ago by diver

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [477]) japanese font hack fixes ticket:226

Note: See TracTickets for help on using tickets.