Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P poppler
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 656
    • Issues 656
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 42
    • Merge requests 42
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • poppler
  • poppler
  • Issues
  • #383

Closed
Open
Created Jun 18, 2015 by Bugzilla Migration User@bugzilla-migration

can't display correctly of Chinese book

Submitted by ni shengyue

Assigned to poppler-bugs

Link to original bug (#91013)

Description

Created attachment 116567 the book that can't read

This is a case cloned from GNOME Bugzilla – Bug 751115

the book that can't read

Evince can't display book correcly, just wrong words but some other tools can display well, such as mupdf, foxit reader (close source software).

I use mupdf and can read it correcly, and I notice there is print as below:

nisy@nisy-ubuntu:/media/nisy/sda1_WinXP/_Technology/98_my_project/27_改进开源软件/乱码问题$ mupdf ./1[雅舍菁华].梁秋实.文字版.PDF warning: workaround for S22PDF lying about chinese font encodings warning: ... repeated 2 times ... warning: workaround for S22PDF lying about chinese font encodings warning: ... repeated 2 times ...

so I guess mupdf had workaround to avoid font issue, so I checked in mupdf code,find its code should be:

pdf_load_font
	|__pdf_load_simple_font 
			|__ pdf_load_simple_font_by_name
				|__ 				fz_warn(ctx, "workaround for S22PDF lying about chinese font encodings");

Because evince also have font mechanism, so can evince consider to check mupdf 's mechanism, and merge mupdf 's method to avoid this issue? Thanks.

nishengyue

Attachment 116567, "the book that can't read":
1.PDF

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking