ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: analyzing type-otf.tex
Date: Mon, 7 Apr 2008 12:58:00 +0200	[thread overview]
Message-ID: <6faad9f00804070358y732172bv39fb3e1c5bd738fc@mail.gmail.com> (raw)
In-Reply-To: <C8661DBC-D39C-4CAD-98FE-3FD6FC552A33@fiee.net>

Hello Hraban,

thanks for pointing this out.

To Hans: the \typescriptthree indeed needs to go out of those
definitions (line 300 in type-otf).

To Hraban: encoding=uc has *zero* effect. To be honest - I doubt that
you will be able to extract any more than (theoretical limit of) 256
glyphs from the Type1 font with XeTeX - character slots and font
glyphs are in one-to-one correlation, so I doubt that you can access
the glyphs outside of those 256 slots (unless you make tfm & map
files, but that's probably the reason why one wants to use XeTeX - to
get rid of that encoding mess). So: I guess that Latin-1 works, but
encoding=uc is ignored anyway.

type-xtx contains quite some "uc" leftovers, but I'm not sure if
"fixing" them is a wise idea or not (backward compatibility).

Mojca


On Sun, Apr 6, 2008 at 2:37 PM, Henning Hraban Ramm wrote:
> Am 2008-04-06 um 13:35 schrieb Henning Hraban Ramm:
>
> > (2)
>  > This seems wrong to me (i.e. I don't understand it):
>  >
>  > \starttypescript [serif]
>  > [adventor,bonum,cursor,heros,pagella,schola,termes]
>  >       \definefontsynonym
>  > [\typescriptprefix{n:\typescripttwo}-Regular]
>  > [file:texgyre\typescriptthree\typescriptprefix{f:\typescripttwo}-
>  > regular]
>  > [features=default]
>
>  Works for me if I just leave out \typescriptthree !
>
>  Here's my working setup, including a PostScript font:
>
>  \usetypescriptfile      [type-otf2] % with change mentioned above
>  \usetypescript          [schoolbook][uc]
>
>  \starttypescript        [sans]  [urw-grotesk]
>         % PostScript name /  file name (in texmf tree) / instead of an encoding
>         \definefontsynonym      [URWGroteskT-LighNarr]  [file:u004242t]
>  [features=default]
>         \definefontsynonym      [URWGroteskT-MediNarr]  [file:u004244t]
>  [features=default]
>         \definefontsynonym      [URWGroteskT-LighNarrObli]      [file:u004262t]
>  [features=default]
>         \definefontsynonym      [URWGroteskT-MediNarrObli]      [file:u004264t]
>  [features=default]
>  \stoptypescript
>
>  \starttypescript        [sans]  [urw-grotesk]   %[name]
>         \definefontsynonym      [Sans]                  [URWGroteskT-LighNarr]
>         \definefontsynonym      [SansItalic]    [URWGroteskT-LighNarrObli]
>         \definefontsynonym      [SansBold]              [URWGroteskT-MediNarr]
>         \definefontsynonym      [SansBoldItalic][URWGroteskT-MediNarrObli]
>         \definefontsynonym      [SansSlanted]   [SansItalic]
>         \definefontsynonym      [SansBoldSlanted]       [SansBoldItalic]
>  \stoptypescript
>
>  \starttypescript        [fiee]  [mix]
>         \definetypeface [mix]   [rm]    [serif] [schola]        [default]       %[encoding=
>  \defaultencoding]
>         \definetypeface [mix]   [ss]    [sans]  [urw-grotesk]   [default]       [encoding=uc]
>  \stoptypescript
>  \usetypescript          [fiee][mix]
>  \setupbodyfont          [mix,rm,8pt]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2008-04-07 10:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-06 11:35 Henning Hraban Ramm
2008-04-06 12:37 ` Henning Hraban Ramm
2008-04-07 10:58   ` Mojca Miklavec [this message]
2008-04-07 18:22     ` Henning Hraban Ramm
2008-04-07 22:43       ` Mojca Miklavec
2008-04-07 22:50       ` Mojca Miklavec
2008-04-08  6:44         ` Wolfgang Schuster
2008-04-08  7:11           ` Henning Hraban Ramm
2008-04-08  7:25             ` Wolfgang Schuster
2008-04-08  7:53         ` Hans Hagen
2008-04-08  8:13     ` Hans Hagen
2008-04-08 10:39       ` Mojca Miklavec
2008-04-08 11:41         ` Hans Hagen
2008-04-08 20:30           ` Henning Hraban Ramm

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=6faad9f00804070358y732172bv39fb3e1c5bd738fc@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --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).