Re: [NTG-context] Problems with the pscyr font package
Radhelorn wrote: Hello All! I'm fresh ConTeXt user, trying to move from LaTeX. And I have several problems with fonts in ConTeXt 2005.06.07 (teTeX-3.0). First of all: pscyr. It's a cyrillic type1 font package which works perfectly in LaTeX, but in Plain TeX and ConTeXt whitespaces between words disappear. I can't find any LaTeX package on CTAN except as a BaKoMa install package, and my system teTeX does not have 'fcori6a.tfm'. Under those circumstances, it becomes quite hard to help you with your problem. There may be a clue buried in the latex support macros ? Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problems with the pscyr font package
Taco Hoekwater wrote: Radhelorn wrote: Hello All! I'm fresh ConTeXt user, trying to move from LaTeX. And I have several problems with fonts in ConTeXt 2005.06.07 (teTeX-3.0). First of all: pscyr. It's a cyrillic type1 font package which works perfectly in LaTeX, but in Plain TeX and ConTeXt whitespaces between words disappear. I can't find any LaTeX package on CTAN except as a BaKoMa install package, and my system teTeX does not have 'fcori6a.tfm'. Under those circumstances, it becomes quite hard to help you with your problem. There may be a clue buried in the latex support macros ? Well, I've already looked at this. AFAIK no magic there: from tex/latex/pscyr/pscyr.sty: \def\codefault{fco} \DeclareRobustCommand\cofamily [EMAIL PROTECTED]@alphabet\rmfamily\mathrm \fontfamily\codefault\selectfont} \DeclareTextFontCommand{\textco}{\cofamily} there is also definition of bold math mode and \renewcommand{\hbar}{{\mathchar'26\mkern-8.5muh}} from tex/latex/pscyr/t2afco.fd: \DeclareFontFamily{T2A}{fco}{} \DeclareFontShape{T2A}{fco}{m}{it}{- fcori6t}{} from fonts/map/dvips/pscyr/pscyr.map: fcori6a CollegePSCyr-Italic T2AEncoding ReEncodeFont t2a.enc colle8.pfb Encoding file fonts/enc/dvips/pscyr/t2a.enc, but pdftex ignores ReEncodeFont, as stated in documentation. Hope this helps. -- Radhelorn [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problems with the pscyr font package
Radhelorn wrote: \DeclareFontShape{T2A}{fco}{m}{it}{- fcori6t}{} So you should use fcori6t in ConTeXt as well. You are using the wrong metrics, and that is the cause of the disappearing space. Encoding file fonts/enc/dvips/pscyr/t2a.enc, but pdftex ignores ReEncodeFont, as stated in documentation. Pdftx does do the actual re-encoding, it just ignores the supplied string value. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problems with the pscyr font package
Taco Hoekwater wrote: \DeclareFontShape{T2A}{fco}{m}{it}{- fcori6t}{} So you should use fcori6t in ConTeXt as well. You are using the wrong metrics, and that is the cause of the disappearing space. Oh, thank you, I see it now. But how font filename and basename is resolved from map file if tfm in source and in map file differ? If LaTeX uses *6t for T2A encoding, but in map file there is only *6a, how it works? I've reread the docs, but this moment remains unclear. The *6t tfm's works as expected, I'm just trying to understand what all this files doing. Encoding file fonts/enc/dvips/pscyr/t2a.enc, but pdftex ignores ReEncodeFont, as stated in documentation. Pdftx does do the actual re-encoding, it just ignores the supplied string value. Taco Yes, I figured it out from experiments. -- Radhelorn [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problems with the pscyr font package
Radhelorn wrote: Taco Hoekwater wrote: \DeclareFontShape{T2A}{fco}{m}{it}{- fcori6t}{} So you should use fcori6t in ConTeXt as well. You are using the wrong metrics, and that is the cause of the disappearing space. Oh, thank you, I see it now. But how font filename and basename is resolved from map file if tfm in source and in map file differ? If LaTeX This is because of virtual fonts: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=virtualfonts Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problems with the pscyr font package
Taco Hoekwater wrote: Radhelorn wrote: Taco Hoekwater wrote: \DeclareFontShape{T2A}{fco}{m}{it}{- fcori6t}{} So you should use fcori6t in ConTeXt as well. You are using the wrong metrics, and that is the cause of the disappearing space. Oh, thank you, I see it now. But how font filename and basename is resolved from map file if tfm in source and in map file differ? If LaTeX This is because of virtual fonts: Thanks, this explains the situation. Is there a command to trace font loading? Which files are loaded, etc. -- Radhelorn [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context