The <- character cannot be shown.

Bug #37745 reported by Rikard Nordgren
20
Affects Status Importance Assigned to Milestone
Poppler
Fix Released
Medium
cupsys (Ubuntu)
Invalid
Medium
Matthias Klose
fontconfig (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

I have a problem with the following document:

http://www.intel.com/design/intarch/manuals/27216403.pdf

The <- character is rendered as a square. This can be seen for example on page C-34 in the "operation" column. I have checked the document in acrobat reader which renders it without problems.

Revision history for this message
sam tygier (samtygier) wrote :

i am see those arrows fine in the table on page C-34 (357 in evinces numbering), in evince 0.5.2-0ubuntu1 in dapper.

what version of evince do you have?

Changed in evince:
status: Unconfirmed → Needs Info
Revision history for this message
Sebastien Bacher (seb128) wrote :

Sam, could you run pdffonts on the .pdf?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. I've forwarded the issue upstream: https://bugs.freedesktop.org/show_bug.cgi?id=6478

Changed in evince:
assignee: nobody → desktop-bugs
status: Needs Info → Confirmed
Revision history for this message
sam tygier (samtygier) wrote :

sam@titania:~/Desktop$ pdffonts 27216403.pdf
name type emb sub uni object ID
------------------------------------ ------------ --- --- --- ---------
TimesNewRomanPS Type 1 no no no 5226 0
Times-Bold Type 1 no no no 1579 0
Times-Bold Type 1 no no no 5248 0
Helvetica Type 1 no no no 1580 0
Helvetica-Bold Type 1 no no no 1581 0
Times-Roman Type 1 no no no 1597 0
Symbol Type 1 no no no 1598 0
Times-Italic Type 1 no no no 1600 0
Times-BoldItalic Type 1 no no no 1601 0
Helvetica Type 1 no no no 1612 0
Helvetica-Bold Type 1 no no no 1649 0
Courier Type 1 no no no 1736 0
Courier-Bold Type 1 no no no 1760 0
[none] Type 3 yes no no 1912 0

Revision history for this message
Sebastien Bacher (seb128) wrote :

What about "fc-match --sort "Symbol""?

Revision history for this message
In , Sebastien Bacher (seb128) wrote :

That bug has been opened on
https://launchpad.net/distros/ubuntu/+source/evince/+bug/37745/+index

"I have a problem with the following document:

http://www.intel.com/design/intarch/manuals/27216403.pdf

The <- character is rendered as a square. This can be seen for example on page
C-34 in the "operation" column. I have checked the document in acrobat reader
which renders it without problems."

That happens on Ubuntu dapper uses poppler 0.5.1 with splash, the first page has
also some squares after "80C188XL" and "Microprocessor". xpdf 3.01 doesn't have
those issues on the same pdf

Revision history for this message
sam tygier (samtygier) wrote :

sam@titania:~/Desktop$ fc-match --sort "Symbol"
symbol.ttf: "Symbol" "Regular"
DejaVuSans.ttf: "DejaVu Sans" "Book"
Verdana.ttf: "Verdana" "Regular"
Arial.ttf: "Arial" "Regular"
n019003l.pfb: "Nimbus Sans L" "Regular"
helvetica.ttf: "Helvetica" "Regular"
FreeSans.ttf: "FreeSans" "Medium"
FreeSansBold.ttf: "FreeSans" "Bold"
kochi-gothic-subst.ttf: "Kochi Gothic" "Regular"
dotum.ttf: "Baekmuk Dotum" "Regular"
lucidagrande.ttf: "Lucida Grande" "Regular"
aakar-medium.ttf: "aakar" "Medium"
padmaa-Medium-0.5.ttf: "padmaa" "regular"
cmsy10.ttf: "cmsy10" "Medium"
TlwgMono.ttf: "TlwgMono" "Medium"
TlwgTypewriter.ttf: "TlwgTypewriter" "Medium"
bigcaslonmedium.ttf: "Big Caslon" "Medium"
utkal.ttf: "utkal" "Medium"
ukai.ttf: "AR PL ZenKai Uni" "Medium"
batang.ttf: "Baekmuk Batang" "Regular"
osaka.ttf: "Osaka" "Regular"
Courier_New.ttf: "Courier New" "Regular"
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"
Arial_Black.ttf: "Arial Black" "Regular"
euphemiacasregular.ttf: "Euphemia UCAS" "Regular"
opens___.ttf: "OpenSymbol" "Regular"
FreeSerif.ttf: "FreeSerif" "Medium"
FreeMono.ttf: "FreeMono" "Medium"
Pothana2000.ttf: "Pothana2000" "Regular"
opens___.ttf: "OpenSymbol" "Regular"
plantagenetcherokee.ttf: "Plantagenet Cherokee" "Regular"
wasy10.ttf: "wasy10" "Normal"
chandas1-1.ttf: "Chandas" "Regular"
华文仿宋.ttf: "STFangsong" "Regular"
TAMu_Kalyani.ttf: "TAMu_Kalyani" "Regular"
TSCu_Comic.ttf: "TSCu_Comic" "Normal"
TSCu_Paranar.ttf: "TSCu_Paranar" "Regular"
MgOpenCanonicaRegular.ttf: "MgOpen Canonica" "Regular"
Trebuchet_MS.ttf: "Trebuchet MS" "Regular"
#pilgiregular.ttf: "#PilGi" "Regular"
zapfdingbats.ttf: "Zapf Dingbats" "Regular"
applegothic.dfont: "AppleGothic" "Regular"
geeza pro.ttf: "Geeza Pro" "Regular"
biaukai.ttf: "BiauKai" "Regular"
儷宋 pro.ttf: "LiSong Pro" "Light"
Kedage-n.ttf: "Kedage" "Normal"
uming.ttf: "AR PL ShanHeiSun Uni" "Regular"
apple symbols.ttf: "Apple Symbols" "Regular"
malayalam.ttf: "malayalam" "Regular"
FreeSerifBold.ttf: "FreeSerif" "Bold"
euphemiacasbold.ttf: "Euphemia UCAS" "Bold"
albayanbold.ttf: "Al Bayan" "Bold"
TSCu_paranari.ttf: "TSCu_Paranar" "Italic"

Revision history for this message
Sebastien Bacher (seb128) wrote :

Do you have a custom fontconfig conf? It works for you because symbol.ttf is listed first...

Revision history for this message
Sebastien Bacher (seb128) wrote :

symbol.ttf is not a font shipped by the distribution, you probably copied it from windows yourself?

Revision history for this message
sam tygier (samtygier) wrote :

i have a whole load of fonts in my ~/.fonts including symbol.ttf from mac os x.

sorry for the confusion.

Revision history for this message
In , Jeff Muizelaar (jeff-infidigm) wrote :

looks like a font matching bug...
Symbol Type 1 no no no 1598 0 file:
/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf

Revision history for this message
In , Jeff Muizelaar (jeff-infidigm) wrote :

Should be fixed by adding the following to the URW section of /etc/fonts/fonts.conf.

        <alias>
          <family>Symbol</family>
          <accept><family>Standard Symbols L</family></accept>
        </alias>

i.e. fc-match --sort "Symbol"; should give 's050000l.pfb: "Standard Symbols L"
"Regular"' as the top match.

Revision history for this message
In , Jeff Muizelaar (jeff-infidigm) wrote :

Also, as per http://freedesktop.org/wiki/Software/poppler there should be an
alias from ZapfDingbats to Dingbats.

Revision history for this message
In , Sebastien Bacher (seb128) wrote :

The Ubuntu fontconfig has the aliases from
http://freedesktop.org/wiki/Software/poppler for zaftdingbats and symbol

$ fc-match --sort "Symbol";
DejaVuSans.ttf: "DejaVu Sans" "Book"
Vera.ttf: "Bitstream Vera Sans" "Roman"
n019003l.pfb: "Nimbus Sans L" "Regular"
... a pile of other fonts listed ...
d050000l.pfb: "Dingbats" "Regular"
s050000l.pfb: "Standard Symbols L" "Regular"

Revision history for this message
In , Jeff Muizelaar (jeff-infidigm) wrote :

So why then does fontconfig give 'DejaVuSans.ttf: "DejaVu Sans" "Book"' as the
first font? We are sort of trusting fontconfig to give a sane result...

Revision history for this message
Dennis Kaarsemaker (dennis) wrote : Re: [Bug 37745] Re: The <- character cannot be shown.

Problem caused by user configuration, not by Ubuntu package.

 status Rejected

Changed in poppler:
status: Confirmed → Rejected
Revision history for this message
Sebastien Bacher (seb128) wrote :

No, it's not, it works for the user who use custom fonts, it's broken on standard config, reopening

Changed in poppler:
status: Rejected → Unconfirmed
status: Unconfirmed → Confirmed
Revision history for this message
Dennis Kaarsemaker (dennis) wrote :

My apologies, I'll look better next time.

Revision history for this message
Sebastien Bacher (seb128) wrote :

No problem, you look at lot of bugs, that can happen and there is harm it can be reopened

Revision history for this message
Sebastien Bacher (seb128) wrote :

This upload fixes the issue:

 fontconfig (2.3.2-1.1ubuntu8) dapper; urgency=low
 .
   * debian/patches/03_preferred_symbol_font.patch:
     - prefer "Standard Symbols L" as symbol font (Ubuntu: #37745)

Changed in poppler:
status: Confirmed → Fix Released
Revision history for this message
In , Sebastien Bacher (seb128) wrote :

Reassigning to fontconfig. At the moment the prefer symbols fonts is not a
Symbols one, the default fonts.conf should probably have a :

"
 <match target="pattern">
  <test name="family">
   <string>Symbol</string>
  </test>
  <edit name="family" mode="prepend" binding="same">
   <string>Standard Symbols L</string>
  </edit>
 </match>
"

Revision history for this message
In , Sebastien Bacher (seb128) wrote :

Created an attachment (id=5296)
Prefer "Standard Symbols L" as Symbol font

Revision history for this message
Matt Zimmerman (mdz) wrote :

Is there still something to be fixed in cupsys here? (it has an open task)

Matthias Klose (doko)
Changed in cupsys:
assignee: nobody → seb128
Revision history for this message
Sebastien Bacher (seb128) wrote :

doko, could you explain why you reassing this bug? What is the cupsys issue with that?

Changed in cupsys:
assignee: seb128 → doko
Revision history for this message
Matthias Klose (doko) wrote :

please see mdz's comment, you did provide a fix.

Changed in cupsys:
assignee: doko → seb128
status: Unconfirmed → Needs Info
Revision history for this message
Sebastien Bacher (seb128) wrote :

stop reassigning that to me without any reason that's ridiculous, have you read the bug? That bug was about fontconfig not picking the right Symbol font which has been fixed. There is no cupsys bug described. I've read mdz comment and I would say there is no cupsys issue and the bug is to close. If that's the case why don't you do so instead of reassigning without saying what you expect from it?

Changed in cupsys:
assignee: seb128 → doko
Revision history for this message
In , Plam (plam) wrote :

I've added Standard Symbols L as a standard alias for Symbol. keithp says that
it's wrong to prefer the URW font over the real Symbol font.

Revision history for this message
In , Sebastien Bacher (seb128) wrote :

The alias is not enough. As explained by previous comments the fonts.conf
already has the aliases described by
http://freedesktop.org/wiki/Software/poppler (you could list the "Dingbats" one
too) but Symbol is still not the preferred choice

Revision history for this message
In , Keith Packard (keithp) wrote :

It's probably a language issue, and making the alias binding strong instead of
weak will override that. Don't prepend it to the list though, just append with
strong binding.

Revision history for this message
In , Plam (plam) wrote :

I've committed the strong match binding.

Revision history for this message
Matthias Klose (doko) wrote :

nothing to fix in cupsys. would be nice to see why/who did add a package to a report.

Changed in cupsys:
status: Needs Info → Rejected
Revision history for this message
In , Carlos Garcia Campos (carlosgc) wrote :

We still need an alias from ZapfDingbats to Dingbats.

$ fc-match ZapfDingbats
DejaVuSans.ttf: "DejaVu Sans" "Book"

$ fc-match Dingbats
d050000l.pfb: "Dingbats" "Regular"

Right now poppler is affected by this problem when rendering documents with forms.

Changed in poppler:
importance: Unknown → Medium
Changed in poppler:
importance: Medium → Unknown
Changed in poppler:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.