ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Werners-Lucchini" <wwl@musensturm.de>
Subject: Re: Metafont and Context
Date: Thu, 22 May 2003 01:39:09 +0200	[thread overview]
Message-ID: <E19IdBN-0002dU-00@mrvdomng.kundenserver.de> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=Default, Size: 2581 bytes --]

Hallo!

I use the following test-file

--------------------test.tex-------------------------
\usetypescriptfile [type-bunt]
\usetypescript [Bunt]
\setupbodyfont [Bunt]
\starttext
\chapter{Test}
{\cg Gottes.}
\stoptext
---------------------------------------------------------

and this typescript

------------------type-bunt.tex--------------------
\starttypescript [calligraphy] [bunt] [name]
  \definefontsynonym [calligraphy] [bu1000]
\stoptypescript

\starttypescript [calligraphy] [bunt] [size]
  \definebodyfont [5pt,6pt,7pt,8pt] [cg]
    [tf=bu0900 sa 1]
  \definebodyfont [9pt] [cg]
    [tf=bu0900]
  \definebodyfont [10pt] [cg]
    [tf=bu1000]
  \definebodyfont [10.95pt] [cg]
    [tf=bu1095]
  \definebodyfont [12pt] [cg]
    [tf=bu1200]
  \definebodyfont [14.4pt] [cg]
    [tf=bu1440]
  \definebodyfont [17.28pt] [cg]
    [tf=bu1728]
%  \definebodyfont [20.7pt] [cg]
%   [tf=bu2074]
  \definebodyfont [20.74pt] [cg]
    [tf=bu2074]
  \definebodyfont [24.88pt] [cg]
    [tf=bu2488]
\stoptypescript

\starttypescript [Bunt]
  \definetypeface [Bunt] [cg] [calligraphy] [bunt] [bunt] [encoding=ec]
\stoptypescript
---------------------------------------------------------

to use a metafont which was designed in the 8 sizes
(9,10,10.95,12,14.4,17.28,20.74 and 24.88pt)
Fontsizes lower then 9pt should downscaled useing the 9pt font. (not testet
yet!)

Problems:

1. The bodyfont is 12pt per default, so pdftex uses bu1200.tfm to calculate
the text.
    The chaptertitle is then in 20.74pt, but pdftex doesn't use the
existing font bu2074.tfm, but
    scales the bodyfont by a factor of 1.728.
    As a result, mktexpk calculates the pk files bu1200.600pk and
bu1200.1037pk,
    and not bu1200.600pk and bu2074.600pk.

    I tried to include the commentet two lines in the typescript, because I
always found written sizes
    in context with one digit behind the point, but the result is negativ
too.

2. The log-file contains the following:

    > ) (./type-bunt.tex)
    > fonts          : [calligraphy] [bunt] [name,default,ec,special]

    My typescript neighter contains a section [ec] nor a section [special].

    What are they for? Why are they referenced in the log.

    > ) (./type-bunt.tex
    > bodyfont       : bodyfont 7.6pt is defined (can better be done
global)
    > bodyfont       : bodyfont 7.6pt is defined (can better be done
global)
    > bodyfont       : bodyfont 5.4pt is defined (can better be done
global)
    > ....

    lots of this lines. Most exist doubly, some not.
    What is this? I have not redefined 7.6pt or 5.4pt ...?

Gruß, Wolfgang

             reply	other threads:[~2003-05-21 23:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-21 23:39 Wolfgang Werners-Lucchini [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-05-22 22:25 Wolfgang Werners-Lucchini
2003-05-21 23:05 Wolfgang Werners-Lucchini
2003-05-22 13:49 ` Bill McClain
2003-05-18 20:40 Wolfgang Werners-Lucchini
2003-05-20 21:10 ` Bill McClain
2003-05-21 12:17   ` Hans Hagen
2003-05-17 23:40 Wolfgang Werners-Lucchini
2003-05-18 15:52 ` Bill McClain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E19IdBN-0002dU-00@mrvdomng.kundenserver.de \
    --to=wwl@musensturm.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).