ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Fonts problems
@ 2006-02-15 13:19 Michal Kvasnička
  2006-02-15 14:06 ` Vit Zyka
  0 siblings, 1 reply; 7+ messages in thread
From: Michal Kvasnička @ 2006-02-15 13:19 UTC (permalink / raw)


Good afternoon.

I apologize that I bother you once more, but I'm getting desperate. :-( 
I have still problem with fonts in ConTeXt---perhaps I'm not able to 
install it well. I use ConTeXt  ver: 2006.02.03 21:00, pdfeTeX, Version 
3.141592-1.21a-2.2 (Web2C 7.5.4), tetex-3.0-13 under SuSE Linux 9.2 (the 
tetex is grabbed from Suse 9.3). I tried to copy all files where I 
thought they should have been, texhashed, and build formats. Now, some 
things work, but not all of them, and not in an expected way.

Problem 1: I expect that a following file should typeset "tufte" in 
Latin Modern font.
    \setupoutput[pdf]
    \starttext
    \input tufte
    \stoptext
ConTeXt loads some map files (/usr/share/texmf/fonts/map
/dvips/context/original-empty.map}{/usr/share/texmf/fonts/map/dvips/context/ori
ginal-base.map}{/usr/share/texmf/fonts/map/dvips/context/ec-public-lm.map}{/usr
/share/texmf/fonts/map/dvips/context/ec-base.map}{/usr/share/texmf/fonts/map/dv
ips/context/8r-base.map}{/usr/share/texmf/fonts/map/dvips/context/t5-base.map}{
/usr/share/texmf/fonts/map/pdftex/context/original-ams-base.map}{/usr/share/tex
mf/fonts/map/dvips/context/original-ams-euler.map}{/usr/share/texmf/fonts/map/d
vips/context/original-public-lm.map}), but it clearly isn't able to find 
the right one, since it writes this error message:
    kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+0/72 --dpi 72 
ec-lmr12
    mktexpk: don't know how to create bitmap font for ec-lmr12.
    kpathsea: Appending font creation commands to missfont.log.
     )
    Warning: pdfetex (file ec-lmr12): Font ec-lmr12 at 72 not found
I can correct it when I add one more file:
    \loadmapfile[psclean.map]
But I was told that I should omit this line. What's the problem? How can 
I correct it?


Problem 2: Let's suppose I add into the previous file this 
    B\"oh-Bawerk
then the letter \"o is missing (a white space is on its place). Isn't 
there a bug in the Latin modern fonts/virtual fonts/metrics, or 
whatever? Moreover, gv views the hyphen over the "h" and "B" letters. 
(Acrobat Reader 7 view it all right.) How is that possible.


Problem 3: Some fonts are not used properly. The following file
    \setupoutput[pdf]
    \loadmapfile[psclean.map]
    \usetypescript[ppl] % working pos
    \switchtobodyfont[ppl,10pt]
    \starttext
    \input tufte\par
    \stoptext
works well. It works even if I change "pos" to "ppl", "ptm", "phv", or 
"tim". It works even when changed to "pcr", but the text is ragged. When 
changed to "con", "bookman", or "iwona", it does nothing---the text is 
typeset in Latin Modern. When changed to "ant", I get this error message:
    kpathsea: Running mktextfm sy-anttrz
    /usr/share/texmf/web2c/mktexnam: Could not map typeface abbreviation 
y- for sy-anttrz.
    /usr/share/texmf/web2c/mktexnam: Need to update 
/usr/share/texmf/fonts/map/fontname/special.map?
    mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; 
nonstopmode; input sy-anttrz
    This is METAFONT, Version 2.71828 (Web2C 7.5.4)
    kpathsea: Running mktexmf sy-anttrz
    ! I can't find file `sy-anttrz'.
I think I have installed all these fonts (instead of Adobe fonts I have 
URW ones). What's wrong.



Problem 4: From what afm files were the tfm metrics for Times, 
Helvetica, and Palatino generated? Accents are positioned in a strange 
way and after a tquoteright is a strange hole (bad kerning).  A long 
time ago I've generated myself tfm metrics from afm files of URW fonts, 
and they look much better. Were these afm files used, or were used some 
afm metrics of fonts that do not include accented letter, i.e. are those 
letters just TeX-based composites?



Problem 5: How can I switch back to CS fonts? (Well, I know I bother you 
all, but I still do not like Latin Modern fonts.) :-( I thought that 
something like this could work, but it doesn't:
    \setupoutput[pdf]
    \loadmapfile[psclean.map]
    \loadmapfile[/usr/share/texmf/dvips/context/original-public-csr.map]
    \starttypescript [serif] [computer-modern] [il2]
      \definefontsynonym [cmb10]    [csb10]    [encoding=il2]
      \definefontsynonym [cmbsy10]  [csbsy10]  [encoding=il2]
       ...
    \stoptypescript
    \usetypescript[computer-modern][il2]
    \switchtobodyfont[computer-modern,10pt]
    \starttext
    \input tufte
    \stoptext
How can I do it?

I apologize for so many questions. Many thanks for your help.
Your thankful
Michal Kvasnicka

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

* Re: Fonts problems
  2006-02-15 13:19 Fonts problems Michal Kvasnička
@ 2006-02-15 14:06 ` Vit Zyka
  2006-02-15 14:29   ` Michal Kvasnička
  0 siblings, 1 reply; 7+ messages in thread
From: Vit Zyka @ 2006-02-15 14:06 UTC (permalink / raw)


Michal Kvasnička wrote:
> Good afternoon.
> 
> I apologize that I bother you once more, but I'm getting desperate. :-( 
> I have still problem with fonts in ConTeXt---perhaps I'm not able to 
> install it well. I use ConTeXt  ver: 2006.02.03 21:00, pdfeTeX, Version 
> 3.141592-1.21a-2.2 (Web2C 7.5.4), tetex-3.0-13 under SuSE Linux 9.2 (the 
> tetex is grabbed from Suse 9.3). I tried to copy all files where I 
> thought they should have been, texhashed, and build formats. Now, some 
> things work, but not all of them, and not in an expected way.
> 
> Problem 1: I expect that a following file should typeset "tufte" in 
> Latin Modern font.
>     \setupoutput[pdf]
>     \starttext
>     \input tufte
>     \stoptext
> ConTeXt loads some map files (/usr/share/texmf/fonts/map
> /dvips/context/original-empty.map}{/usr/share/texmf/fonts/map/dvips/context/ori
> ginal-base.map}{/usr/share/texmf/fonts/map/dvips/context/ec-public-lm.map}{/usr
> /share/texmf/fonts/map/dvips/context/ec-base.map}{/usr/share/texmf/fonts/map/dv
> ips/context/8r-base.map}{/usr/share/texmf/fonts/map/dvips/context/t5-base.map}{
> /usr/share/texmf/fonts/map/pdftex/context/original-ams-base.map}{/usr/share/tex
> mf/fonts/map/dvips/context/original-ams-euler.map}{/usr/share/texmf/fonts/map/d
> vips/context/original-public-lm.map}), but it clearly isn't able to find 
> the right one, since it writes this error message:
>     kpathsea: Running mktexpk --mfmode / --bdpi 72 --mag 1+0/72 --dpi 72 
> ec-lmr12
>     mktexpk: don't know how to create bitmap font for ec-lmr12.

Hello,

it seems like old lm package (wrong map files). Try to update from
http://www.tug.org/cgi-bin/dirarchive/tex-archive/fonts/lm/fonts.zip

Vit Zyka

>     kpathsea: Appending font creation commands to missfont.log.
>      )
>     Warning: pdfetex (file ec-lmr12): Font ec-lmr12 at 72 not found
> I can correct it when I add one more file:
>     \loadmapfile[psclean.map]
> But I was told that I should omit this line. What's the problem? How can 
> I correct it?
> 
> 
> Problem 2: Let's suppose I add into the previous file this 
>     B\"oh-Bawerk
> then the letter \"o is missing (a white space is on its place). Isn't 
> there a bug in the Latin modern fonts/virtual fonts/metrics, or 
> whatever? Moreover, gv views the hyphen over the "h" and "B" letters. 
> (Acrobat Reader 7 view it all right.) How is that possible.
> 
> 
> Problem 3: Some fonts are not used properly. The following file
>     \setupoutput[pdf]
>     \loadmapfile[psclean.map]
>     \usetypescript[ppl] % working pos
>     \switchtobodyfont[ppl,10pt]
>     \starttext
>     \input tufte\par
>     \stoptext
> works well. It works even if I change "pos" to "ppl", "ptm", "phv", or 
> "tim". It works even when changed to "pcr", but the text is ragged. When 
> changed to "con", "bookman", or "iwona", it does nothing---the text is 
> typeset in Latin Modern. When changed to "ant", I get this error message:
>     kpathsea: Running mktextfm sy-anttrz
>     /usr/share/texmf/web2c/mktexnam: Could not map typeface abbreviation 
> y- for sy-anttrz.
>     /usr/share/texmf/web2c/mktexnam: Need to update 
> /usr/share/texmf/fonts/map/fontname/special.map?
>     mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; 
> nonstopmode; input sy-anttrz
>     This is METAFONT, Version 2.71828 (Web2C 7.5.4)
>     kpathsea: Running mktexmf sy-anttrz
>     ! I can't find file `sy-anttrz'.
> I think I have installed all these fonts (instead of Adobe fonts I have 
> URW ones). What's wrong.
> 
> 
> 
> Problem 4: From what afm files were the tfm metrics for Times, 
> Helvetica, and Palatino generated? Accents are positioned in a strange 
> way and after a tquoteright is a strange hole (bad kerning).  A long 
> time ago I've generated myself tfm metrics from afm files of URW fonts, 
> and they look much better. Were these afm files used, or were used some 
> afm metrics of fonts that do not include accented letter, i.e. are those 
> letters just TeX-based composites?
> 
> 
> 
> Problem 5: How can I switch back to CS fonts? (Well, I know I bother you 
> all, but I still do not like Latin Modern fonts.) :-( I thought that 
> something like this could work, but it doesn't:
>     \setupoutput[pdf]
>     \loadmapfile[psclean.map]
>     \loadmapfile[/usr/share/texmf/dvips/context/original-public-csr.map]
>     \starttypescript [serif] [computer-modern] [il2]
>       \definefontsynonym [cmb10]    [csb10]    [encoding=il2]
>       \definefontsynonym [cmbsy10]  [csbsy10]  [encoding=il2]
>        ...
>     \stoptypescript
>     \usetypescript[computer-modern][il2]
>     \switchtobodyfont[computer-modern,10pt]
>     \starttext
>     \input tufte
>     \stoptext
> How can I do it?
> 
> I apologize for so many questions. Many thanks for your help.
> Your thankful
> Michal Kvasnicka
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 

-- 
=======================================================
Ing. Vít Zýka, Ph.D.                         TYPOkvítek

database publishing              databazove publikovani
data maintaining and typesetting in typographic quality
priprava dat a jejich sazba v typograficke kvalite

tel.: (+420) 777 198 189     www: http://typokvitek.com
=======================================================

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: Fonts problems
  2006-02-15 14:06 ` Vit Zyka
@ 2006-02-15 14:29   ` Michal Kvasnička
  2006-02-15 14:53     ` Mojca Miklavec
  0 siblings, 1 reply; 7+ messages in thread
From: Michal Kvasnička @ 2006-02-15 14:29 UTC (permalink / raw)


Vit Zyka wrote:

>> > Problem 1: I expect that a following file should typeset "tufte" in > Latin Modern font.>     \setupoutput[pdf]>     \starttext>     \input tufte>     \stoptext> ConTeXt loads some map files (/usr/share/texmf/fonts/map
>

>> Hello,
>it seems like old lm package (wrong map files). Try to update fromhttp://www.tug.org/cgi-bin/dirarchive/tex-archive/fonts/lm/fonts.zip
>Vit Zyka
>  
>
Wow, it works. Many thanks. Well, I had to delete also old map files. 
But now it works very well. It works even with pos-typescript.

Have you any hint for the rest of my problmes?

Many thanks once more.
M.K.

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

* Re: Fonts problems
  2006-02-15 14:29   ` Michal Kvasnička
@ 2006-02-15 14:53     ` Mojca Miklavec
  2006-02-15 15:07       ` Michal Kvasnička
  0 siblings, 1 reply; 7+ messages in thread
From: Mojca Miklavec @ 2006-02-15 14:53 UTC (permalink / raw)


On 2/15/06, Michal Kvasnička wrote:
> Wow, it works. Many thanks. Well, I had to delete also old map files.
> But now it works very well. It works even with pos-typescript.
>
> Have you any hint for the rest of my problmes?

Problem Nr. 3:
Update iwona, kurier & antykwa torunska too (names were changed recently).

http://www.janusz.nowacki.strefa.pl/

Mojca

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

* Re: Fonts problems
  2006-02-15 14:53     ` Mojca Miklavec
@ 2006-02-15 15:07       ` Michal Kvasnička
  2006-02-15 17:09         ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Michal Kvasnička @ 2006-02-15 15:07 UTC (permalink / raw)


Mojca Miklavec wrote:

>On 2/15/06, Michal Kvasnička wrote:
>  
>
>>Wow, it works. Many thanks. Well, I had to delete also old map files.
>>But now it works very well. It works even with pos-typescript.
>>
>>Have you any hint for the rest of my problmes?
>>    
>>
>
>Problem Nr. 3:
>Update iwona, kurier & antykwa torunska too (names were changed recently).
>
>http://www.janusz.nowacki.strefa.pl/
>
>Mojca
>  
>
Oh my goodness! That works too. I wonder if I like changes (because 
sometimes they are improvements), or I hate them because of these problems.

Many thanks to you.
M.K.

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

* Re: Fonts problems
  2006-02-15 15:07       ` Michal Kvasnička
@ 2006-02-15 17:09         ` Hans Hagen
  2006-02-16  8:46           ` Michal Kvasnička
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2006-02-15 17:09 UTC (permalink / raw)


� wrote:
> Mojca Miklavec wrote:
>
>   
>> On 2/15/06, Michal Kvasni�ka wrote:
>>  
>>
>>     
>>> Wow, it works. Many thanks. Well, I had to delete also old map files.
>>> But now it works very well. It works even with pos-typescript.
>>>
>>> Have you any hint for the rest of my problmes?
>>>    
>>>
>>>       
>> Problem Nr. 3:
>> Update iwona, kurier & antykwa torunska too (names were changed recently).
>>
>> http://www.janusz.nowacki.strefa.pl/
>>
>> Mojca
>>  
>>
>>     
> Oh my goodness! That works too. I wonder if I like changes (because 
> sometimes they are improvements), or I hate them because of these problems.
>   
i always try to incorporate such new things (fonts) into context as soon as possible; the drawback of that is that when a beta font becomes updates, one also may need to update context

in the near future more font updates will take place; some of you may know already that there is a new font project started in a few months where the core of the free fonts in the tex distribuitions (times, paladio, etc) will be updated: (1) merging the regular, quasi and vn variants, (2) provide open type alternatives, (3) maybe add math support to all of them, (4) make them lm glyph compatible [i.e. adding shapes] and maybe more; this project is being substantially funded by CSTug, Dante, Gust, NTG and TugIndia, with TUG and maybe other groups stepping in later. 

since i'm one of the initiators of this project, you may expect context to be an early adopter; you are warned 

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: Fonts problems
  2006-02-15 17:09         ` Hans Hagen
@ 2006-02-16  8:46           ` Michal Kvasnička
  0 siblings, 0 replies; 7+ messages in thread
From: Michal Kvasnička @ 2006-02-16  8:46 UTC (permalink / raw)


Good morning.

Of course I'm glad there are more and more free fonts in the ConTeXt. 
The project you spead about sounds great. But may I ask you for a favor? 
Would it be possible to add one more zip file to the downloading page of 
http://www.pragma-ade.com/---the zip file including all free fonts in 
the versions that are currently supported by the ConTeXt? I do not 
update my system very often, and that's why I often get into problems 
like this when I try to update ConTeXt. If it didn't spend a great deal 
of your time, it would help me (and perhaps more people) a lot. Thank 
you very much.

Yours thankful
M.K.

>.>   i always try to incorporate such new things (fonts) into context as soon as possible; the drawback of that is that when a beta font becomes updates, one also may need to update context
>in the near future more font updates will take place; some of you may know already that there is a new font project started in a few months where the core of the free fonts in the tex distribuitions (times, paladio, etc) will be updated: (1) merging the regular, quasi and vn variants, (2) provide open type alternatives, (3) maybe add math support to all of them, (4) make them lm glyph compatible [i.e. adding shapes] and maybe more; this project is being substantially funded by CSTug, Dante, Gust, NTG and TugIndia, with TUG and maybe other groups stepping in later. 
>since i'm one of the initiators of this project, you may expect context to be an early adopter; you are warned 
>Hans 
>-----------------------------------------------------------------                                          Hans Hagen | PRAGMA ADE              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com                                             | www.pragma-pod.nl-----------------------------------------------------------------
>_______________________________________________ntg-context mailing listntg-context@ntg.nlhttp://www.ntg.nl/mailman/listinfo/ntg-context
>  
>

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

end of thread, other threads:[~2006-02-16  8:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-15 13:19 Fonts problems Michal Kvasnička
2006-02-15 14:06 ` Vit Zyka
2006-02-15 14:29   ` Michal Kvasnička
2006-02-15 14:53     ` Mojca Miklavec
2006-02-15 15:07       ` Michal Kvasnička
2006-02-15 17:09         ` Hans Hagen
2006-02-16  8:46           ` Michal Kvasnička

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