[metapost] problem with Type1 font

luigi scarso luigi.scarso at gmail.com
Sun May 10 10:39:34 CEST 2015


On Sat, May 9, 2015 at 4:04 PM, Karel <horakk at math.cas.cz> wrote:

>  Sorry, I forget to add the font also.
>
> And also to ad u:=1mm;
> which I usually read from macrofile...
> Karel
>
>
>
> On Sat, May 9, 2015 at 3:46 PM, Karel <horakk at math.cas.cz> wrote:
>
>> I have problem with typesetting six symbols from Type1 font with metapost
>> which refuse to read the corresponding line in given curr.map
>> containing just one line
>> bor  <bor.pfb
>> (the same problem arises with mp1.999 also with virtual fonts, but in
>> that case helps to give the corresponding line as fontmapline directly,
>> which does not help here:
>>
>> %q.mp
>> path s;
>>
>> fontmapfile "curr.map";
>> % fontmapline "bor  <bor.pfb";
>>
>> fontmapline "bor  bor <bor.pfb";


> verbatimtex
>> \font\astro     bor scaled 1095
>> \astro
>> etex
>>
>> beginfig(4);
>> w:=30u; h:=24u;
>> s:=fullcircle xscaled w yscaled h;
>> a:=.5;
>> z0=origin;
>> z1=point a of s;
>> z2=point 2 of s;
>> z1=point 4-a of s;
>>
> z3 =point 4-a of s;

> for k=4 upto 6: z[k]=z[k-3] rotated180; endfor
>> i:=-1;
>> label(btex C  etex,z[incr i]);
>> label(btex \i etex,z[incr i]);
>> label(btex A  etex,z[incr i]);
>> label(btex D  etex,z[incr i]);
>> label(btex I  etex,z[incr i]);
>> label(btex U  etex,z[incr i]);
>> label(btex E  etex,z[incr i]);
>> endfig;
>>
>> end
>>
>> The file should be ok (thanks to A. Kakuto).

>

-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20150510/4f85db3f/attachment.html>


More information about the metapost mailing list