[XeTeX] two questions

Dalyoung Jeong haksan at mac.com
Fri Nov 9 07:25:30 CET 2007


Dear Mojca,

As you said to me, the line
  \definetypeface [Myface][mm][math][modern][modern]
is needed.
I also found an interesting phenomena. If I set the bodyfont size  
begger that 12pt, the greek capitals are not dispalyed at all. They  
appeared only when the font size smaller or equal to 12pt. In that  
case, many of the following lines appeared in the logfile.

%%%%%%%
! Font \xetextempfont=lmtypewriter10-regular at 6.5pt not loadable:  
Metric (TFM
) file or installed font not found.
<to be read again>
                    \relax
\doiffoundxetexfontelse ...#2\somefontspec \relax
                                                   \edef  
\xetextempfont {\fon...
<argument> ...ckedfontfile \checkedfontfeatures "}
                                                    {\edef  
\checkedfontfile {...

\secondoftwoarguments #1#2->#2

\docheckfontfilenameprefix ...checkedfontfile }}}}
                                                   \else \ifx \!! 
stringa \v!f...

\docheckfontfilename ... #1:\empty :\empty \relax
                                                    
\doshowcheckedfontfeatures
...
l.8 \setupbodyfont[Myface,13pt, rm]

I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
%%%%%%%%%%%

In the font book of my system, LMTypewriter10-regular and other LM  
fonts exist.


I checked log file of the cases in which the korean typescript file  
containg the commercial fonts was used. I got different result depend  
on the fonts.

1. The pdf output(english letters are displayed well  but korean  
letters are not) was made without error. In the log file, following  
lines are appeared. I think that it is because of the korean. But no  
greek capitals again even the body font is set up as 12pt.

%%%%%%%%%%%
systems         : begin file test-font at line 8
Missing character: There is no   in font [lmroman10- 
regular]:script=latn;langua
ge=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no  in font [lmroman10- 
regular]:script=latn;langua
ge=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no  in font [lmroman10- 
regular]:script=latn;langua
ge=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no  in font [lmroman10- 
regular]:script=latn;langua
ge=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no 기 in font [lmroman10- 
regular]:script=latn;lang
uage=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no 본 in font [lmroman10- 
regular]:script=latn;lang
uage=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no ÏÑú in font [lmroman10- 
regular]:script=latn;lang
uage=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no 체 in font [lmroman10- 
regular]:script=latn;lang
uage=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no ÏûÖ in font [lmroman10- 
regular]:script=latn;lang
uage=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no Îãà in font [lmroman10- 
regular]:script=latn;lang
uage=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no 다 in font [lmroman10- 
regular]:script=latn;lang
uage=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no Ïù¥ in font [lmroman10- 
italic]:script=latn;langu
age=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no 탤 in font [lmroman10- 
italic]:script=latn;langu
age=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no 릭 in font [lmroman10- 
italic]:script=latn;langu
age=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no ÏÑú in font [lmroman10- 
italic]:script=latn;langu
age=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no 체 in font [lmroman10- 
italic]:script=latn;langu
age=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no ÏûÖ in font [lmroman10- 
italic]:script=latn;langu
age=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no Îãà in font [lmroman10- 
italic]:script=latn;langu
age=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no 다 in font [lmroman10- 
italic]:script=latn;langu
age=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no 굵 in font [lmroman10- 
bold]:script=latn;languag
e=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no ÏùÄ in font [lmroman10- 
bold]:script=latn;languag
e=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no ÏÑú in font [lmroman10- 
bold]:script=latn;languag
e=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no 체 in font [lmroman10- 
bold]:script=latn;languag
e=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no ÏûÖ in font [lmroman10- 
bold]:script=latn;languag
e=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no Îãà in font [lmroman10- 
bold]:script=latn;languag
e=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
Missing character: There is no 다 in font [lmroman10- 
bold]:script=latn;languag
e=dflt;+liga;+kern;mapping=tex-text;mapping=tex-text;!
fonts           : resetting map file list
fonts           : using map file: original-base
fonts           : using map file: lm-math
fonts           : using map file: lm-rm
...
%%%%%%%%%%%%%%%

2. ** ERROR ** CFF: Invalid character. and no pdf output, so I  
couldn't check the greek capitals. In the log file, the following  
lines are appeared.

%%%%%%%%%%%%%
...
(/Users/dalyoung/Library/texmf/tex/xetex/type-xkor3.tex))
Unknown feature `script=latn' in font `smGothicR W35'.
Unknown feature `language=dflt' in font `smGothicR W35'.
Unknown feature `+liga' in font `smGothicR W35'.
Unknown feature `+kern' in font `smGothicR W35'.

[a long blanks]

Unknown feature `script=latn' in font `smGothicR W35'.
Unknown feature `language=dflt' in font `smGothicR W35'.
Unknown feature `+liga' in font `smGothicR W35'.
Unknown feature `+kern' in font `smGothicR W35'.
Unknown feature `script=latn' in font `smGothicR W35'.
Unknown feature `language=dflt' in font `smGothicR W35'.
Unknown feature `+liga' in font `smGothicR W35'.
Unknown feature `+kern' in font `smGothicR W35'.
(./test-font.tuo) (./test-font.tuo) (./test-font.tuo) (./test-font.tuo)
(./test-font.tuo) (./test-font.tuo) (./test-font.tuo) (./test-font.tuo)
(./test-font.tuo) (./test-font.tuo)
(/usr/local/gwTeX/texmf.pkgs/tex/context/base/sort-lan.tex
loading         : Context Sorting Macros (languages)
(/usr/local/gwTeX/texmf.pkgs/tex/context/base/sort-lan.mkii)) (./test- 
font.tuo)
(./test-font.tuo)
systems         : begin file test-font at line 8
fonts           : resetting map file list
fonts           : using map file: original-base
fonts           : using map file: lm-math
fonts           : using map file: lm-rm
...
%%%%%%%%%%%

There are different results depending on the fonts defined in the  
typescript file. I attached a text file used in the test.

I am so sorry to ask you so many things. I hope you and other list  
members don't mind.

Thank you.

Best regards,
Dalyoung



More information about the XeTeX mailing list