ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problems with Palatino sans serif
@ 2008-10-18 23:13 Rory Molinari
  2008-10-18 23:34 ` Rory Molinari
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Rory Molinari @ 2008-10-18 23:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I'm having problems with Palatino sans serif in my documents.

Consider the following small file:

\usetypescript[palatino][ec]
\setupbodyfont[palatino,10pt]

\starttext
\ss Hello world!

{\tfa\ss tfa}
{\tfb\ss tfb}
{\tfc\ss tfc}
{\tfd\ss tfd}

\stoptext



On live.contextgarden.net this renders correctly, with sans serif text  
and appropriate character sizes.

On my local system, though, all the text is serif and at the same  
size.  There is no size variation with \tfa, \tfb, etc.  If I remove  
all the \ss commands then the sizing works again.

I'm using MacTeX 2008.  Here are my version strings from texexec:

This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
ConTeXt  ver: 2008.04.11 00:07 MKII  fmt: 2008.10.11  int: english/ 
english


What is wrong with my installation (or my document)?

Cheers,
Rory Molinari

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems with Palatino sans serif
  2008-10-18 23:13 Problems with Palatino sans serif Rory Molinari
@ 2008-10-18 23:34 ` Rory Molinari
  2008-10-18 23:59 ` Aditya Mahajan
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 18+ messages in thread
From: Rory Molinari @ 2008-10-18 23:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Oct 18, 2008, at 4:13 PM, Rory Molinari wrote:

> Hi,
>
> I'm having problems with Palatino sans serif in my documents.
>
> Consider the following small file:
>
> \usetypescript[palatino][ec]
> \setupbodyfont[palatino,10pt]
>
> \starttext
> \ss Hello world!
>
> {\tfa\ss tfa}
> {\tfb\ss tfb}
> {\tfc\ss tfc}
> {\tfd\ss tfd}
>
> \stoptext
>
>
>
> On live.contextgarden.net this renders correctly, with sans serif text
> and appropriate character sizes.
>
> On my local system, though, all the text is serif and at the same
> size.  There is no size variation with \tfa, \tfb, etc.  If I remove
> all the \ss commands then the sizing works again.

As an extra data point, I see this in the texexec log:

pdftex (file ec-urw-palatino.map): cannot open font map file

>
>
> I'm using MacTeX 2008.  Here are my version strings from texexec:
>
> This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
> ConTeXt  ver: 2008.04.11 00:07 MKII  fmt: 2008.10.11  int: english/
> english
>
>
> What is wrong with my installation (or my document)?
>
> Cheers,
> Rory Molinari
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems with Palatino sans serif
  2008-10-18 23:13 Problems with Palatino sans serif 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-20  9:39   ` Taco Hoekwater
  2008-10-19  1:47 ` Idris Samawi Hamid ادريس سماوي حامد
  2008-10-19 12:56 ` Mojca Miklavec
  3 siblings, 2 replies; 18+ messages in thread
From: Aditya Mahajan @ 2008-10-18 23:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, 18 Oct 2008, Rory Molinari wrote:

> Hi,
>
> I'm having problems with Palatino sans serif in my documents.
>
> Consider the following small file:
>
> \usetypescript[palatino][ec]
> \setupbodyfont[palatino,10pt]
>
> \starttext
> \ss Hello world!
>
> {\tfa\ss tfa}
> {\tfb\ss tfb}
> {\tfc\ss tfc}
> {\tfd\ss tfd}
>
> \stoptext
>
>
>
> On live.contextgarden.net this renders correctly, with sans serif text
> and appropriate character sizes.
>
> On my local system, though, all the text is serif and at the same
> size.  There is no size variation with \tfa, \tfb, etc.  If I remove
> all the \ss commands then the sizing works again.
>
> I'm using MacTeX 2008.  Here are my version strings from texexec:
>
> This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
> ConTeXt  ver: 2008.04.11 00:07 MKII  fmt: 2008.10.11  int: english/
> english
>
>
> What is wrong with my installation (or my document)?

Can you attach your log file? Does adding \usetypescriptfile[type-gyr] on 
top of the document help?

Notice that palatino does not have a sans serif, so you should get Latin 
Modern Sans as the sans serif font.

Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems with Palatino sans serif
  2008-10-18 23:59 ` Aditya Mahajan
@ 2008-10-19  1:26   ` Rory Molinari
  2008-10-19  2:10     ` Aditya Mahajan
  2008-10-20  9:39   ` Taco Hoekwater
  1 sibling, 1 reply; 18+ messages in thread
From: Rory Molinari @ 2008-10-19  1:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 1200 bytes --]


On Oct 18, 2008, at 4:59 PM, Aditya Mahajan wrote:

> On Sat, 18 Oct 2008, Rory Molinari wrote:
>
>> Hi,
>>
>> I'm having problems with Palatino sans serif in my documents.
>>
>> Consider the following small file:
>>
>> \usetypescript[palatino][ec]
>> \setupbodyfont[palatino,10pt]
>>
>> \starttext
>> \ss Hello world!
>>
>> {\tfa\ss tfa}
>> {\tfb\ss tfb}
>> {\tfc\ss tfc}
>> {\tfd\ss tfd}
>>
>> \stoptext
>>
>>
>>
>> On live.contextgarden.net this renders correctly, with sans serif  
>> text
>> and appropriate character sizes.
>>
>> On my local system, though, all the text is serif and at the same
>> size.  There is no size variation with \tfa, \tfb, etc.  If I remove
>> all the \ss commands then the sizing works again.
>>
>> I'm using MacTeX 2008.  Here are my version strings from texexec:
>>
>> This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
>> ConTeXt  ver: 2008.04.11 00:07 MKII  fmt: 2008.10.11  int: english/
>> english
>>
>>
>> What is wrong with my installation (or my document)?
>
> Can you attach your log file? Does adding \usetypescriptfile[type- 
> gyr] on
> top of the document help?

Adding that line doesn't change the behavior.  I've attached a copy of  
the log.


[-- Attachment #2: palatino_sizes.log --]
[-- Type: application/octet-stream, Size: 8130 bytes --]

This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) (format=cont-en 2008.10.11)  18 OCT 2008 18:23
entering extended mode
 %&-line parsing enabled.
 (/usr/local/texlive/2008/texmf/web2c/natural.tcx)
**palatino_sizes.tex \emergencyend
(./palatino_sizes.tex

ConTeXt  ver: 2008.04.11 00:07 MKII  fmt: 2008.10.11  int: english/english

language        : language en is active
system          : cont-new loaded
(/usr/local/texlive/2008/../texmf-local/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(/usr/local/texlive/2008/../texmf-local/tex/context/base/cont-new.mkii)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/cont-mtx.tex))
system          : cont-old loaded
(/usr/local/texlive/2008/../texmf-local/tex/context/base/cont-old.tex
loading         : Context Old Macros
)
system          : cont-fil loaded
(/usr/local/texlive/2008/../texmf-local/tex/context/base/cont-fil.tex
loading         : Context File Synonyms
)
system          : cont-sys loaded
(/usr/local/texlive/2008/texmf-config/tex/context/user/cont-sys.tex
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-tmf.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-siz.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-one.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-akb.tex))
bodyfont        : 12pt rm is loaded
language        : patterns en->ec:ec->1->2:3 uk->ec:ec->2->2:3 de->texnansi:tex
nansi->3->2:3 de->ec:ec->4->2:3 fr->texnansi:texnansi->5->2:3 fr->ec:ec->6->2:3
 es->ec:ec->7->2:3 pt->texnansi:texnansi->8->2:3 pt->ec:ec->9->2:3 it->texnansi
:texnansi->10->2:3 it->ec:ec->11->2:3 nl->texnansi:texnansi->12->2:3 nl->ec:ec-
>13->2:3 cz->il2:il2->14->2:3 cz->ec:ec->15->2:3 sk->il2:il2->16->2:3 sk->ec:ec
->17->2:3 pl->pl0:pl0->18->2:3 pl->ec:ec->19->2:3 pl->qx:qx->20->2:3 loaded
specials        : tex,postscript,rokicki loaded
\openout3 = `palatino_sizes.tui'.

system          : palatino_sizes.top loaded
(./palatino_sizes.top
specials        : loading definition file tpd
(/usr/local/texlive/2008/../texmf-local/tex/context/base/spec-tpd.tex
specials        : loading definition file fdf
(/usr/local/texlive/2008/../texmf-local/tex/context/base/spec-fdf.tex
(/usr/local/texlive/2008/../texmf-local/tex/context/base/spec-fdf.mkii))
specials        : fdf loaded
(./palatino_sizes.tuo))
specials        : fdf,tpd loaded
)
\openout0 = `palatino_sizes-mpgraph.mp'.

\openout0 = `mpgraph.mp'.


systems         : system commands are disabled
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-tmf.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-siz.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-one.tex
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-tmf.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-siz.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-one.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-akb.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-gyr.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-tmf.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-siz.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-one.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-akb.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-gyr.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-tmf.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-siz.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-one.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-akb.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-gyr.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-tmf.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-siz.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-one.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-akb.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-gyr.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-tmf.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-siz.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-one.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-akb.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-gyr.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-tmf.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-siz.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-one.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-akb.tex)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/type-gyr.tex))
(./palatino_sizes.tuo) (./palatino_sizes.tuo) (./palatino_sizes.tuo)
(./palatino_sizes.tuo) (./palatino_sizes.tuo) (./palatino_sizes.tuo)
(./palatino_sizes.tuo) (./palatino_sizes.tuo) (./palatino_sizes.tuo)
(./palatino_sizes.tuo) (./palatino_sizes.tuo) (./palatino_sizes.tuo)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/pdfr-def.tex)
systems         : begin file palatino_sizes at line 5
fonts           : resetting map file list
{/usr/local/texlive/2008/../texmf-local/fonts/map/pdftex/context/original-empty
.map}
fonts           : using map file: original-base
{/usr/local/texlive/2008/../texmf-local/fonts/map/pdftex/context/original-base.
map}
fonts           : using map file: original-ams-base
{/usr/local/texlive/2008/../texmf-local/fonts/map/pdftex/context/original-ams-b
ase.map}
fonts           : using map file: original-public-lm
{/usr/local/texlive/2008/../texmf-local/fonts/map/pdftex/context/original-publi
c-lm.map}
fonts           : using map file: lm-ec
{/usr/local/texlive/2008/texmf-dist/fonts/map/dvips/lm/lm-ec.map}
fonts           : using map file: lm-math
{/usr/local/texlive/2008/texmf-dist/fonts/map/dvips/lm/lm-math.map}
fonts           : using map file: lm-rm
{/usr/local/texlive/2008/texmf-dist/fonts/map/dvips/lm/lm-rm.map}
fonts           : using map file: 8r-base
{/usr/local/texlive/2008/../texmf-local/fonts/map/pdftex/context/8r-base.map}
fonts           : using map file: ec-base
{/usr/local/texlive/2008/../texmf-local/fonts/map/pdftex/context/ec-base.map}
fonts           : using map file: t5-base
{/usr/local/texlive/2008/../texmf-local/fonts/map/pdftex/context/t5-base.map}
fonts           : using map file: original-ams-euler
{/usr/local/texlive/2008/../texmf-local/fonts/map/pdftex/context/original-ams-e
uler.map}
fonts           : using map file: qpl-ec
{/usr/local/texlive/2008/texmf-dist/fonts/map/dvips/tex-gyre/qpl-ec.map}
fonts           : using map file: original-youngryu-px
{/usr/local/texlive/2008/../texmf-local/fonts/map/pdftex/context/original-young
ryu-px.map}
(/usr/local/texlive/2008/../texmf-local/tex/context/base/sort-def.tex
(/usr/local/texlive/2008/../texmf-local/tex/context/base/sort-def.mkii))
(/usr/local/texlive/2008/../texmf-local/tex/context/base/sort-lan.tex
loading         : Context Sorting Macros (languages)
(/usr/local/texlive/2008/../texmf-local/tex/context/base/sort-lan.mkii))
[1.1]
systems         : end file palatino_sizes at line 13
 ) 
Here is how much of TeX's memory you used:
 2192 strings out of 457599
 42868 string characters out of 538078
 4610680 words of memory out of 7039433
 41690 multiletter control sequences out of 10000+50000
 162466 words of font info for 89 fonts, out of 3000000 for 5000
 192 hyphenation exceptions out of 8191
 48i,17n,61p,335b,528s stack positions out of 5000i,500n,10000p,200000b,50000s
{/usr/local/texlive/2008/texmf-dist/fonts/enc/dvips/tex-gyre/q-ec.enc}</usr/l
ocal/texlive/2008/texmf-dist/fonts/type1/public/tex-gyre/qplr.pfb>
Output written on palatino_sizes.pdf (1 page, 26320 bytes).
PDF statistics:
 17 PDF objects out of 1000 (max. 8388607)
 9 compressed objects within 1 object stream
 0 named destinations out of 1000 (max. 131072)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)


[-- Attachment #3: Type: text/plain, Size: 745 bytes --]




(The log is from a run including the \usetypescriptfile command.)

>
>
> Notice that palatino does not have a sans serif, so you should get  
> Latin
> Modern Sans as the sans serif font.

That makes sense.

Cheers,
Rory

>
>
> Aditya
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


[-- Attachment #4: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems with Palatino sans serif
  2008-10-18 23:13 Problems with Palatino sans serif Rory Molinari
  2008-10-18 23:34 ` Rory Molinari
  2008-10-18 23:59 ` Aditya Mahajan
@ 2008-10-19  1:47 ` Idris Samawi Hamid ادريس سماوي حامد
  2008-10-19 12:56 ` Mojca Miklavec
  3 siblings, 0 replies; 18+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2008-10-19  1:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

On Sat, 18 Oct 2008 17:13:04 -0600, Rory Molinari  
<context@quokka70.fastmail.fm> wrote:

> Hi,
>
> I'm having problems with Palatino sans serif in my documents.
>
> Consider the following small file:
>
> \usetypescript[palatino][ec]
> \setupbodyfont[palatino,10pt]
>
> \starttext
> \ss Hello world!
>
> {\tfa\ss tfa}
> {\tfb\ss tfb}
> {\tfc\ss tfc}
> {\tfd\ss tfd}
>
> \stoptext
>
>
>
> On live.contextgarden.net this renders correctly, with sans serif text
> and appropriate character sizes.
>
> On my local system, though, all the text is serif and at the same
> size.  There is no size variation with \tfa, \tfb, etc.  If I remove
> all the \ss commands then the sizing works again.

I just tried your example; \ss works here just fine.

> I'm using MacTeX 2008.  Here are my version strings from texexec:
>
> This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
> ConTeXt  ver: 2008.04.11 00:07 MKII  fmt: 2008.10.11  int: english/
> english
>
>
> What is wrong with my installation (or my document)?

Your ConTeXt is ancient. Try updating to the latest current version or  
beta. My beta is

ConTeXt  ver: 2008.10.12 22:46 MKII

The latest beta should be safe since mkii is pretty much fixed, if not  
frozen.

Best wishes

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems with Palatino sans serif
  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 ادريس سماوي حامد
  0 siblings, 2 replies; 18+ messages in thread
From: Aditya Mahajan @ 2008-10-19  2:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, 18 Oct 2008, Rory Molinari wrote:

>
> On Oct 18, 2008, at 4:59 PM, Aditya Mahajan wrote:
>
>> On Sat, 18 Oct 2008, Rory Molinari wrote:
>> 
>>> Hi,
>>> 
>>> I'm having problems with Palatino sans serif in my documents.
>>> 
>>> Consider the following small file:
>>> 
>>> \usetypescript[palatino][ec]
>>> \setupbodyfont[palatino,10pt]
>>> 
>>> \starttext
>>> \ss Hello world!
>>> 
>>> {\tfa\ss tfa}
>>> {\tfb\ss tfb}
>>> {\tfc\ss tfc}
>>> {\tfd\ss tfd}
>>> 
>>> \stoptext
>>> 
>>> 
>>> 
>>> On live.contextgarden.net this renders correctly, with sans serif text
>>> and appropriate character sizes.
>>> 
>>> On my local system, though, all the text is serif and at the same
>>> size.  There is no size variation with \tfa, \tfb, etc.  If I remove
>>> all the \ss commands then the sizing works again.
>>> 
>>> I'm using MacTeX 2008.  Here are my version strings from texexec:
>>> 
>>> This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
>>> ConTeXt  ver: 2008.04.11 00:07 MKII  fmt: 2008.10.11  int: english/
>>> english
>>> 
>>> 
>>> What is wrong with my installation (or my document)?
>> 
>> Can you attach your log file? Does adding \usetypescriptfile[type-gyr] on
>> top of the document help?
>
> Adding that line doesn't change the behavior.  I've attached a copy of the 
> log.

Your log file is exactly same as the log file that I get (but I go get 
correct font scaling). All fonts and map files are found and correctly 
loaded. Nothing obvious is wrong. What does pdffonts file.pdf say?

The next thing will be to look at the output of \loggingall.
Can you add \loggingall on top of your file and zip all the files (tex, 
tui, tuo, log, pdf) and make it available somewhere (it will exceed the 
attachment limit of this list).

Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems with Palatino sans serif
  2008-10-19  2:10     ` Aditya Mahajan
@ 2008-10-19  7:35       ` Taco Hoekwater
  2008-10-19 14:37       ` Idris Samawi Hamid ادريس سماوي حامد
  1 sibling, 0 replies; 18+ messages in thread
From: Taco Hoekwater @ 2008-10-19  7:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Aditya Mahajan wrote:
>>>> What is wrong with my installation (or my document)?
>>> Can you attach your log file? Does adding \usetypescriptfile[type-gyr] on
>>> top of the document help?
>> Adding that line doesn't change the behavior.  I've attached a copy of the 
>> log.
> 
> Your log file is exactly same as the log file that I get (but I go get 
> correct font scaling). All fonts and map files are found and correctly 
> loaded. Nothing obvious is wrong. What does pdffonts file.pdf say?

The log file indicates that cont-sys.tex loads adobekb. Is that
standard in texlive2008?

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems with Palatino sans serif
  2008-10-18 23:13 Problems with Palatino sans serif Rory Molinari
                   ` (2 preceding siblings ...)
  2008-10-19  1:47 ` Idris Samawi Hamid ادريس سماوي حامد
@ 2008-10-19 12:56 ` Mojca Miklavec
  2008-10-20  9:54   ` Taco Hoekwater
  3 siblings, 1 reply; 18+ messages in thread
From: Mojca Miklavec @ 2008-10-19 12:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Oct 19, 2008 at 1:13 AM, Rory Molinari wrote:
> Hi,
>
> I'm having problems with Palatino sans serif in my documents.
>
> Consider the following small file:
>
> \usetypescript[palatino][ec]
> \setupbodyfont[palatino,10pt]
>
> \starttext
> \ss Hello world!
>
> {\tfa\ss tfa}
> {\tfb\ss tfb}
> {\tfc\ss tfc}
> {\tfd\ss tfd}
>
> \stoptext
>
>
>
> On live.contextgarden.net this renders correctly, with sans serif text
> and appropriate character sizes.
>
> On my local system, though, all the text is serif and at the same
> size.  There is no size variation with \tfa, \tfb, etc.  If I remove
> all the \ss commands then the sizing works again.
>
> I'm using MacTeX 2008.  Here are my version strings from texexec:
>
> This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
> ConTeXt  ver: 2008.04.11 00:07 MKII  fmt: 2008.10.11  int: english/
> english
>
>
> What is wrong with my installation (or my document)?

I don't know the cure. The same thing happens to me with or without
\usetypescriptfile[type-gyr]. I have noticed that a map file that is
present in TeX Liven 2007 is missing in TeX Live 2008 (also using
MacTeX with some random version of ConTeXt).

ss is not defined for Palatino.

But what's also really annoying and might be connected - all my
accented letters written in palatino (URWPalladio) are gone (š is ok,
č looses accent, ž disappears, fi ligatures turn into some weird
accents ...) when I post-process the document with Adobe Acrobat in
order to reduce document size by downsampling photos.

I tried to switch to TeXGyre, but then all the line/page breaks are
broken. I need to lock my computer from me for a week. Maybe it will
obey me better after it takes some break :) :) :)

Maybe fixing a problem with map files might help, but I cannot think right now.

Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems with Palatino sans serif
  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
  1 sibling, 1 reply; 18+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2008-10-19 14:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, 18 Oct 2008 20:10:02 -0600, Aditya Mahajan <adityam@umich.edu>  
wrote:

>>>> What is wrong with my installation (or my document)?
>>>
>>> Can you attach your log file? Does adding \usetypescriptfile[type-gyr]  
>>> on
>>> top of the document help?
>>
>> Adding that line doesn't change the behavior.  I've attached a copy of  
>> the
>> log.
> Your log file is exactly same as the log file that I get (but I go get
> correct font scaling).

Rory, if updating your old ConTeXt mkii is not an option, then try this.  
It's form is also instructive and may help you with future setups.

=========
\starttypescript [palatino-ec]
	% \definebodyfontenvironment %% optional
	% [palatino]
	% [default]
	% [interlinespace=2.7ex]
	
     \definetypeface [palatino] [rm] [serif] [palatino] [default]  
[encoding=ec]
     \definetypeface [palatino] [ss] [sans]  [modern]   [default]  
[encoding=ec,rscale=1.075]
     \definetypeface [palatino] [tt] [mono]  [modern]   [default]  
[encoding=ec,rscale=1.075]
     \definetypeface [palatino] [mm] [math]  [palatino] [default]
     \quittypescriptscanning
\stoptypescript

\usetypescript[palatino-ec]
\setupbodyfont[palatino,12pt]

\starttext

test

\ss Hello world!

{\tfa\ss tfa}
{\tfb\ss tfb}
{\tfc\ss tfc}
{\tfd\ss tfd}

\stoptext
=========

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems with Palatino sans serif
  2008-10-19 14:37       ` Idris Samawi Hamid ادريس سماوي حامد
@ 2008-10-19 19:24         ` Rory Molinari
  0 siblings, 0 replies; 18+ messages in thread
From: Rory Molinari @ 2008-10-19 19:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi again,


On Oct 19, 2008, at 7:37 AM, Idris Samawi Hamid ادريس سماوي  
حامد wrote:

> On Sat, 18 Oct 2008 20:10:02 -0600, Aditya Mahajan <adityam@umich.edu>
> wrote:
>
>>>>> What is wrong with my installation (or my document)?
>>>>
>>>> Can you attach your log file? Does adding \usetypescriptfile[type- 
>>>> gyr]
>>>> on
>>>> top of the document help?
>>>
>>> Adding that line doesn't change the behavior.  I've attached a  
>>> copy of
>>> the
>>> log.
>> Your log file is exactly same as the log file that I get (but I go  
>> get
>> correct font scaling).
>
> Rory, if updating your old ConTeXt mkii is not an option, then try  
> this.
> It's form is also instructive and may help you with future setups.
>

I took Idris's advice and updated ConTeXt (with % sudo ctxtools -- 
updatecontext).  Now the sizing and sans serif commands work fine,  
with and without "\usetypescriptfile[type-gyr]".

I apologize for wasting everyone's time with a problem that was merely  
due to my out-of-date installation.

Idris: thanks for the typescript example.  I find this topic very  
confusing and will enjoy working through it.

Aditya: I'm sorry that I didn't think to get output with '\loggingall'  
before updating my ConTeXt installation.

Cheers,
Rory

> =========
> \starttypescript [palatino-ec]
> 	% \definebodyfontenvironment %% optional
> 	% [palatino]
> 	% [default]
> 	% [interlinespace=2.7ex]
> 	
>     \definetypeface [palatino] [rm] [serif] [palatino] [default]
> [encoding=ec]
>     \definetypeface [palatino] [ss] [sans]  [modern]   [default]
> [encoding=ec,rscale=1.075]
>     \definetypeface [palatino] [tt] [mono]  [modern]   [default]
> [encoding=ec,rscale=1.075]
>     \definetypeface [palatino] [mm] [math]  [palatino] [default]
>     \quittypescriptscanning
> \stoptypescript
>
> \usetypescript[palatino-ec]
> \setupbodyfont[palatino,12pt]
>
> \starttext
>
> test
>
> \ss Hello world!
>
> {\tfa\ss tfa}
> {\tfb\ss tfb}
> {\tfc\ss tfc}
> {\tfd\ss tfd}
>
> \stoptext
> =========
>
> Best wishes
> Idris
>
> -- 
> Professor Idris Samawi Hamid, Editor-in-Chief
> International Journal of Shi`i Studies
> Department of Philosophy
> Colorado State University
> Fort Collins, CO 80523
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems with Palatino sans serif
  2008-10-18 23:59 ` Aditya Mahajan
  2008-10-19  1:26   ` Rory Molinari
@ 2008-10-20  9:39   ` Taco Hoekwater
  2008-10-20 21:03     ` Rory Molinari
  1 sibling, 1 reply; 18+ messages in thread
From: Taco Hoekwater @ 2008-10-20  9:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Hi Rory,

Aditya Mahajan wrote:
>>
>> On my local system, though, all the text is serif and at the same
>> size.  There is no size variation with \tfa, \tfb, etc.  If I remove
>> all the \ss commands then the sizing works again.

Sorry for being so slow with this, Aditya was right with his analysis.
I just installed a texlive2008, and the problem is really a simple bug
/ omission in the pre-august context release, I should have spotted
it without having to actually install a texlive myself.

Anyway, from the Release Notes page for 2008.08.04:

   type-one.tex:
     * add an ss definition for palatino and fourier typescripts

Because there is no fallback font defined either, you get 'nothing'
when you switch to \ss in the older contexts. You could attempt
to update your context installation,  but this could introduce
new problems, so it may be easiest to add a \definetypeface line
for palatino ss in your document someplace before the \setupbodyfont.

  \definetypeface [palatino] [ss] [sans]  [modern]
                  [default] [encoding=ec,rscale=1.075]

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems with Palatino sans serif
  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
  0 siblings, 2 replies; 18+ messages in thread
From: Taco Hoekwater @ 2008-10-20  9:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users



Mojca Miklavec wrote:
> 
> I don't know the cure. The same thing happens to me with or without
> \usetypescriptfile[type-gyr]. I have noticed that a map file that is
> present in TeX Liven 2007 is missing in TeX Live 2008 (also using
> MacTeX with some random version of ConTeXt).

The missing mapfile (ec-urw-palatino) is completely harmless.
The file exists in the context minimals, and it contains the map
lines for texfont-installed urw palatino metrics.

But in texlive & mactex texfont is not used, these distributions
use the berry names for the font metrics. Using these metrics
is triggered  by a \usetypescript[berry] in cont-sys.rme, and
the associated fontmap definitions are in (the also automatically
loaded) ec-base.map.

So it is just a spurious warning.

> But what's also really annoying and might be connected - all my
> accented letters written in palatino (URWPalladio) are gone (š is ok,
> č looses accent, ž disappears, fi ligatures turn into some weird
> accents ...) when I post-process the document with Adobe Acrobat in
> order to reduce document size by downsampling photos.

For this, can you send me a private message with before & after set
of pdfs? If possible, ones generated with \nopdfcompression (because
that is easier to debug). Afaict, it is unrelated to this problem,
but still definately a bug.

> I tried to switch to TeXGyre, but then all the line/page breaks are
> broken. 

This is unavoidable, texgyre simply has different metrics from the
URW version of the fonts.

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems with Palatino sans serif
  2008-10-20  9:54   ` Taco Hoekwater
@ 2008-10-20 11:33     ` Mojca Miklavec
  2008-10-20 11:36     ` Mojca Miklavec
  1 sibling, 0 replies; 18+ messages in thread
From: Mojca Miklavec @ 2008-10-20 11:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Oct 20, 2008 at 11:54 AM, Taco Hoekwater wrote:
>
>
> Mojca Miklavec wrote:
>>
>> I don't know the cure. The same thing happens to me with or without
>> \usetypescriptfile[type-gyr]. I have noticed that a map file that is
>> present in TeX Liven 2007 is missing in TeX Live 2008 (also using
>> MacTeX with some random version of ConTeXt).
>
> The missing mapfile (ec-urw-palatino) is completely harmless.
> The file exists in the context minimals, and it contains the map
> lines for texfont-installed urw palatino metrics.
>
> But in texlive & mactex texfont is not used, these distributions
> use the berry names for the font metrics. Using these metrics
> is triggered  by a \usetypescript[berry] in cont-sys.rme, and
> the associated fontmap definitions are in (the also automatically
> loaded) ec-base.map.
>
> So it is just a spurious warning.
>
>> But what's also really annoying and might be connected - all my
>> accented letters written in palatino (URWPalladio) are gone (š is ok,
>> č looses accent, ž disappears, fi ligatures turn into some weird
>> accents ...) when I post-process the document with Adobe Acrobat in
>> order to reduce document size by downsampling photos.
>
> For this, can you send me a private message with before & after set
> of pdfs?

I have been trying to create a minimal example. Now that's bad:
minimal example works OK with the same set of settings and same text.
It's only the 60-pages document that fails.

I'll send you the link, but it could just as well be that it's a bug in Acrobat.

> If possible, ones generated with \nopdfcompression (because
> that is easier to debug).

How can I uncompress the files generated by Adobe?

> Afaict, it is unrelated to this problem,
> but still definately a bug.

I only wonder if it's a bug in ConTeXt or Acrobat ... If it was a
problem with maps or whatever, single-page example should have failed
already.

>> I tried to switch to TeXGyre, but then all the line/page breaks are
>> broken.
>
> This is unavoidable, texgyre simply has different metrics from the
> URW version of the fonts.

I'm fully aware of that :(
But I could think about that a few weeks ago.

Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems with Palatino sans serif
  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
  1 sibling, 1 reply; 18+ messages in thread
From: Mojca Miklavec @ 2008-10-20 11:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

> 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.

Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems with Palatino sans serif
  2008-10-20 11:36     ` Mojca Miklavec
@ 2008-10-20 12:45       ` Taco Hoekwater
  2008-10-20 14:40         ` Mojca Miklavec
  0 siblings, 1 reply; 18+ messages in thread
From: Taco Hoekwater @ 2008-10-20 12:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users



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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems with Palatino sans serif
  2008-10-20 12:45       ` Taco Hoekwater
@ 2008-10-20 14:40         ` Mojca Miklavec
  0 siblings, 0 replies; 18+ messages in thread
From: Mojca Miklavec @ 2008-10-20 14:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Oct 20, 2008 at 2:45 PM, Taco Hoekwater <taco@elvenkind.com> wrote:
>
>
> 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.

!PS-AdobeFont-1.0: URWPalladioL-Roma 1.05%%CreationDate: Wed Dec 22
1999% Copyright (URW)++,Copyright 1999 by (URW)++ Design &
Development% (URW)++,Copyright 1999 by (URW)++ Design & Development%
See the file COPYING (GNU General Public License) for license
conditions.% As a special exception, permission is granted to include
this font% program in a Postscript or PDF file that consists of a
document that% contains text to be displayed or printed using this
font, regardless% of the conditions or license applying to the
document itself.12 dict begin/FontInfo 10 dict dup begin/version
(1.05) readonly def/Notice ((URW)++,Copyright 1999 by (URW)++ Design &
Development. See the file COPYING (GNU General Public License) for
license conditions. As a special exception, permission--> is granted
to include this font program in a Postscript or PDF file that consists
of a document that contains text to be displayed or printed using this
font, regardless--> of the conditions or license applying to the
document itself.) readonly def
/Copyright (Copyright (URW)++,Copyright 1999 by (URW)++ Design &
Development) readonly def
/FullName (URW Palladio L Roman) readonly def
/FamilyName (URW Palladio L) readonly def
/Weight (Roman) readonly def
/ItalicAngle -9.4809 def
/isFixedPitch false def
/UnderlinePosition -100 def
/UnderlineThickness 50 def
end readonly def
/FontName /HFKCGX+URWPalladioL-Roma-Slant_167 def
/PaintType 0 def
/WMode 0 def
/FontBBox {-166 -283 1021 943} readonly def
/FontType 1 def
/FontMatrix [0.001 0 0.000167 0.001 0 0 ] readonly def
/Encoding StandardEncoding def
currentdict end
currentfile eexec


And then "(nova.)-466(\016eleli)" for "nova. Želeli" where Ž is missing.

I can at least do a bissection. Maybe some included PDF image is
confusing things.

Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems with Palatino sans serif
  2008-10-20  9:39   ` Taco Hoekwater
@ 2008-10-20 21:03     ` Rory Molinari
  2008-10-20 22:14       ` Taco Hoekwater
  0 siblings, 1 reply; 18+ messages in thread
From: Rory Molinari @ 2008-10-20 21:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Taco Hoekwater wrote:
> Hi Rory,

Hi Taco,

Thanks for responding.


> 
> Because there is no fallback font defined either, you get 'nothing'
> when you switch to \ss in the older contexts. You could attempt
> to update your context installation,  but this could introduce
> new problems, so it may be easiest to add a \definetypeface line

I've already updated my installation, which cleared up the problem.  Is 
it risky in general to use 'ctxtool --updatecontext'?

> for palatino ss in your document someplace before the \setupbodyfont.
> 
>   \definetypeface [palatino] [ss] [sans]  [modern]
>                   [default] [encoding=ec,rscale=1.075]

Oh, I see.  This uses the Computer Modern sans.

So if I understand things correctly, the various arguments are:

[palatino]: the typeface being defined (or modified in this case)
[ss]:       the part of the typeface being defined (the \ss name)
[sans]:     refers to a part of the "modern" typeface
[modern]:   pick the "sans" part of the this typeface
[default]:  what's this bit?
[encoding]: the encoding to use
[rscale]:   a scaling adjustment to make up for CM's smaller x-size.

Is that the general idea?

Cheers,
Rory

> 
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Problems with Palatino sans serif
  2008-10-20 21:03     ` Rory Molinari
@ 2008-10-20 22:14       ` Taco Hoekwater
  0 siblings, 0 replies; 18+ messages in thread
From: Taco Hoekwater @ 2008-10-20 22:14 UTC (permalink / raw)
  To: context, mailing list for ConTeXt users

Rory Molinari wrote:
> 
> So if I understand things correctly, the various arguments are:
> 
> [palatino]: the typeface being defined (or modified in this case)
> [ss]:       the part of the typeface being defined (the \ss name)
> [sans]:     refers to a part of the "modern" typeface
> [modern]:   pick the "sans" part of the this typeface
> [default]:  what's this bit?
> [encoding]: the encoding to use
> [rscale]:   a scaling adjustment to make up for CM's smaller x-size.
> 
> Is that the general idea?

Yes, spot on. The [default] is for font families with optical scaling
instances and is only used with the computer modern fonts. When combined
with a different font set, like palatino, it doesn't make much sense so
it is usually left at [default].

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2008-10-20 22:14 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-18 23:13 Problems with Palatino sans serif 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
2008-10-20 14:40         ` Mojca Miklavec

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).