* texexec --mptex text?
@ 2005-12-21 15:58 Hans van der Meer
2005-12-21 16:31 ` Hans Hagen
2005-12-21 17:34 ` Taco Hoekwater
0 siblings, 2 replies; 4+ messages in thread
From: Hans van der Meer @ 2005-12-21 15:58 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 413 bytes --]
I did some small examples, motivated by the article of Wesseling in
NTG's "Voorjaar 2005" MAPS.
Latest context and fonts installed (2005-12-19).
I do not understand the results.
(call) texexec --mptex test-1.mp:
beginfig(1);
draw (0,0)--(100,0)--(100,50)--(50,50)--(50,100)--(0,100)--(0,0);
label.urt(btex \ss\tfxx coorner etex rotated 45, (50,50)) withcolor
blue;
endfig;
end.
Why are the o's colliding?
[-- Attachment #2: test.3.pdf --]
[-- Type: application/pdf, Size: 6457 bytes --]
[-- Attachment #3: Type: text/plain, Size: 1113 bytes --]
font shown to be Courier Truetype (Macintosh OSX).
And why is the fount Courier instead of the expected ComputerModern
SansSerif?
Contents of test.mpx is:
% Written by DVItoMP, Version 0.9/color (Web2C 7.5.3)
begingroup save _p,_r,_s,_n; picture _p; _p=nullpicture;
string _n[];
vardef _s(expr _t,_f,_m,_x,_y)(text _c)=
addto _p also _t infont _f scaled _m shifted (_x,_y) _c; enddef;
_n0="ec-lmss12";
_s("co",_n0,1.00000,0.0000,-5.3134,);
_s("o",_n0,1.00000,11.3806,-5.3134,);
_s("rner",_n0,1.00000,16.9085,-5.3134,);
setbounds _p to (0,-5.3134)--(36.0726,-5.3134)--
(36.0726,0.0000)--(0,0.0000)--cycle;
_p endgroup
mpxbreak
File tmpgraph.bck has:
\long\def\mpxshipout#1{\shipout\hbox{%
\setbox0=\hbox{#1}%
\dimen0=\ht0 \advance\dimen0\dp0
\dimen1=\ht0 \dimen2=\dp0 \ht0=0pt \dp0=0pt \box0
\ifnum\dimen0>0 \vrule width1sp height\dimen1 depth\dimen2
\else \vrule width1sp height1sp depth0sp\relax
\fi}}
\mpxshipout{% line 3 test.mp
\ss coorner}
\end{document}
\end{document}
File tmpgraph.log shows context loading ec fonts (why not lm now)?
yours sincerely,
dr. H. van der Meer
[-- Attachment #4: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: texexec --mptex text?
2005-12-21 15:58 texexec --mptex text? Hans van der Meer
@ 2005-12-21 16:31 ` Hans Hagen
2005-12-21 17:34 ` Taco Hoekwater
1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2005-12-21 16:31 UTC (permalink / raw)
Hans van der Meer wrote:
>
> File tmpgraph.log shows context loading ec fonts (why not lm now)?
> yours sincerely,
you mean ec-lm* ec is the encoding, lm the font
i'm puzzled by the courier (normally the acrobat fallback)
Hans
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: texexec --mptex text?
2005-12-21 15:58 texexec --mptex text? Hans van der Meer
2005-12-21 16:31 ` Hans Hagen
@ 2005-12-21 17:34 ` Taco Hoekwater
2005-12-21 18:12 ` Hans van der Meer
1 sibling, 1 reply; 4+ messages in thread
From: Taco Hoekwater @ 2005-12-21 17:34 UTC (permalink / raw)
Hi,
Hans van der Meer wrote:
> Why are the o's colliding?
They shouldn't, but ...
> font shown to be Courier Truetype (Macintosh OSX).
> And why is the fount Courier instead of the expected ComputerModern
> SansSerif?
I assume your previewer doesn't know how to display ec-lmss12, so it
uses the font it has rigged as a last resort: Courier.
Try running mptopdf on test-1.1 before starting the previewer.
> File tmpgraph.log shows context loading ec fonts (why not lm now)?
> yours sincerely,
As Hans said, the "ec-" part is the 'ec' (aka 'cork' aka 'T1') encoding.
Cheers, Taco
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: texexec --mptex text?
2005-12-21 17:34 ` Taco Hoekwater
@ 2005-12-21 18:12 ` Hans van der Meer
0 siblings, 0 replies; 4+ messages in thread
From: Hans van der Meer @ 2005-12-21 18:12 UTC (permalink / raw)
On Dec 21, 2005, at 18:34, Taco Hoekwater wrote:
>
> Hans van der Meer wrote:
>> Why are the o's colliding?
>
> They shouldn't, but ...
>
>> font shown to be Courier Truetype (Macintosh OSX).
>
>> And why is the fount Courier instead of the expected
>> ComputerModern SansSerif?
>
> I assume your previewer doesn't know how to display ec-lmss12, so it
> uses the font it has rigged as a last resort: Courier.
>
> Try running mptopdf on test-1.1 before starting the previewer.
Solves this problem. I was using Apples Preview application (Mac
OSX), which clearly fails here. LMRoman now shows up in Adobe Reader
and o's behave as they should.
yours sincerely,
dr. H. van der Meer
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-12-21 18:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-21 15:58 texexec --mptex text? Hans van der Meer
2005-12-21 16:31 ` Hans Hagen
2005-12-21 17:34 ` Taco Hoekwater
2005-12-21 18:12 ` Hans van der Meer
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).