ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problems with Palatino sans serif
Date: Mon, 20 Oct 2008 14:45:50 +0200	[thread overview]
Message-ID: <48FC7D7E.4000504@elvenkind.com> (raw)
In-Reply-To: <6faad9f00810200436o213ffa44if13f24e37428ab70@mail.gmail.com>



Mojca Miklavec wrote:
>> For this, can you send me a private message with before & after set
>> of pdfs?
> 
> http://www.mars2008.si/taco/
> 
>> If possible, ones generated with \nopdfcompression (because
>> that is easier to debug). Afaict, it is unrelated to this problem,
>> but still definately a bug.
> 
> The file is 26MB now. I will try to see what I can do to cut it down
> to some smaller size & still showing the bug, before filling the disk
> quota :) :) :) by sending uncompressed PDF.

I fetched the files (so you can delete them) and I am tempted to
believe this is an AR (distiller) bug, because the /Encoding in
the generated PDF is incomplete, and it was probably correct
in the z-before.pdf (I did not decompress the file, but it must
have been ok, otherwise that file would have displayed incorrectly
as well).

The "Slanted" entry in the z-after.pdf has:

341 0 obj
<</Subtype/Type1
   /FontDescriptor 344 0 R
   /LastChar 246
   /Widths 343 0 R
   /BaseFont/HFKCGX+URWPalladioL-Roma-Slant_167
   /FirstChar 2
   /ToUnicode 340 0 R
   /Encoding 342 0 R
   /Type/Font
 >>
endobj
342 0 obj
<</Differences
   [46/period 53/five 71/G 80/P 84/T 97/a 101/e
   104/h/i/j/k/l/m/n/o 114/r/s/t 121/y]
   /BaseEncoding/WinAnsiEncoding
   /Type/Encoding
 >>
endobj
344 0 obj
<</StemV 84
   /FontName/HFKCGX+URWPalladioL-Roma-Slant_167
   /FontFile 339 0 R
   /Flags 4
   /Descent -282
   /FontBBox[-166 -283 1021 943]
   /Ascent 715/CapHeight 680/XHeight 469
   /ItalicAngle -9
   /CharSet(/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O/P/R/S/Scaron/T/U/V/W/Z\
           /Zcaron/a/b/bracketleft/bracketright/c/caron/colon/comma\
           /d/e/eacute/eight/endash/exclam/f/fi/
           /five/four/g/guillemotleft\
           /guillemotright/h/hyphen/i/j/k/l/m/n/nine/o/odieresis/one\
           /parenleft/parenright/period/question/r/s/scaron/seven/six\
           /t/three/two/u/v/y/z/zcaron/zero)
   /Type/FontDescriptor
 >>
endobj


Notice the big difference between the /Differences and the /CharSet.
Despite the name of /Differences, this normally lists all the glyphs
in the subset. When I manually add

   14/Zcaron/zcaron

at the start of /Differences, then suddenly the slanted accented z-s
reappear.

I suspect Acrobat Pro gets confused about the encoding because it
probably has to merge more than one subset into a single one. Perhaps
it believes all encodings are equal. This you could test by looking
at an uncompressed generated pdf's Font objects in a text editor.

Best wishes,
Taco




___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2008-10-20 12:45 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-18 23:13 Rory Molinari
2008-10-18 23:34 ` Rory Molinari
2008-10-18 23:59 ` Aditya Mahajan
2008-10-19  1:26   ` Rory Molinari
2008-10-19  2:10     ` Aditya Mahajan
2008-10-19  7:35       ` Taco Hoekwater
2008-10-19 14:37       ` Idris Samawi Hamid ادريس سماوي حامد
2008-10-19 19:24         ` Rory Molinari
2008-10-20  9:39   ` Taco Hoekwater
2008-10-20 21:03     ` Rory Molinari
2008-10-20 22:14       ` Taco Hoekwater
2008-10-19  1:47 ` Idris Samawi Hamid ادريس سماوي حامد
2008-10-19 12:56 ` Mojca Miklavec
2008-10-20  9:54   ` Taco Hoekwater
2008-10-20 11:33     ` Mojca Miklavec
2008-10-20 11:36     ` Mojca Miklavec
2008-10-20 12:45       ` Taco Hoekwater [this message]
2008-10-20 14:40         ` Mojca Miklavec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48FC7D7E.4000504@elvenkind.com \
    --to=taco@elvenkind.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).