question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some characters in the text layer are wrong compared to what is displayed

See original GitHub issue

Attach (recommended) or Link to PDF file here: https://web.archive.org/web/20091223123331/http://sci2s.ugr.es/keel/pdf/specific/articulo/alp99.pdf (aka tests/pdfs/issue1936.pdf)

When I copy/paste the multiplication sign on the first line of the first page, I got a £. And when I do the same in evince I got a × (the same in chrome). The font descriptor is:

<< /Ascent 0 /CapHeight 749 /CharSet (/multiply) /Descent 0 /Flags 262212 /FontBBox [ -27 -940 1332 825 ] /FontFile3 59 0 R /FontName /KHPEPJ+CMBSY10 /ItalicAngle -14.035 /StemV 0 /Type /FontDescriptor >>

So it should be possible to guess the correct character in using the CharSet entry: https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/PDF32000_2008.pdf#page=291

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Snuffleupaguscommented, Apr 20, 2021

I’ve got a potential patch for this locally, but I still need to run all tests and think through the various edge-cases involved.

0reactions
Snuffleupaguscommented, Apr 18, 2021

it seems that it’s ok to not have a BaseEncoding when there is a Differences.

Sure, but the Differences array really ought to have had a “multiply” entry as far as I’m concerned.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Format characters in the Character panel - Adobe Support
Use the Character panel to format characters. If text is selected, changes you make in the Character panel affect only the selected text....
Read more >
Bug Report Selecting Multiple Text Layers Shows Wrong Font
Since the last two upgrades, when I select multiple layers of text in a comp, the character window displays the wrong font selected....
Read more >
render text layer chinese character is incorrect #8069 - GitHub
I would like on text layer display chinese character, but that incorrect. some character is duplicate. What is the expected behavior?
Read more >
STOP Scaling Text in Photoshop! Solve The Paragraph Style ...
In this tutorial, you will learn how to use Paragraph Styles in Photoshop to speed up your workflow, and how free-transforming text ......
Read more >
Edit text layers – Figma Help Center
Once you are in Text edit mode you can click into any other text layer on the ... If a character isn't supported...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found