From: sjoerd siebinga <sjoerdsiebinga@zonnet.nl>
Subject: unicode fontdefinition
Date: Thu, 24 Nov 2005 09:19:25 +0100 [thread overview]
Message-ID: <B9D59CDC-D805-4680-A5CB-A90BB32EBFF9@zonnet.nl> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 2171 bytes --]
Hi all,
I am currently typesetting a collection of articles that use a great
number of unicodeglyphs from 19 vectors. All the regular glyphs turn
up fine, but I am unable to get the bold and italic versions of the
glyphs. I have made encoding files for all the vectors using the xsl-
scripts from Adam Lindsay and installed them via texfont.
The sourcefile is an xml-file with decimal-unicode-entities that are
mapped to the \uchar command by the \defineXMLentity command.
I have defined the unicode fontsynonyms as follows:
<code>
\loadmapfile[palatinolinostar_01xx-starling-linostar]
\definefontsynonym [UnicodeRegular01] [palatinolinostar_01xx-
PalatinoLinoStar] [encoding=palatinolinostar_01xx]
\definefontsynonym [UnicodeBold01] [palatinolinostar_01xx-
PalatinoLinoStarBold] [encoding=palatinolinostar_01xx]
\definefontsynonym [UnicodeItalic01] [palatinolinostar_01xx-
PalatinoLinoStarItalic] [encoding=palatinolinostar_01xx]
</code>
My bodyfontdefinition is as follows:
<code>
\starttypescript [map] [linostar] [texnansi,palatinolinostar_01xx]
\loadmapfile [\typescripttwo-starling-linostar.map]
\stoptypescript
\starttypescript [serif] [linostar] [texnansi,palatinolinostar_01xx]
\definefontsynonym [linostar] [\typescriptthree-
PalatinoLinoStar] [encoding=\typescriptthree]
\definefontsynonym [linostar-Italic] [\typescriptthree-
PalatinoLinoStarItalic] [encoding=\typescriptthree]
\definefontsynonym [linostar-Bold] [\typescriptthree-
PalatinoLinoStarBold] [encoding=\typescriptthree]
\stoptypescript
\starttypescript [serif] [linostar] [name]
\setups [font:fallback:serif]
\definefontsynonym [Serif] [linostar]
\definefontsynonym [SerifItalic] [linostar-Italic]
\definefontsynonym [SerifBold] [linostar-Bold]
\stoptypescript
\starttypescript [my] [starling-linostar]
[texnansi,palatinolinostar_01xx]
\definetypeface [starling-linostar] [rm] [serif] [linostar] [default]
[encoding=\typescriptthree]
\stoptypescript
\usetypescript [my] [starling-linostar]
\setupbodyfont[starling-linostar,rm,10pt]
</code>
Could somebody tell me what I am doing wrong?
Kind regards,
Sjoerd
[-- Attachment #1.2: Type: text/html, Size: 4486 bytes --]
[-- Attachment #2: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
next reply other threads:[~2005-11-24 8:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-24 8:19 sjoerd siebinga [this message]
2005-11-24 23:05 ` Hans Hagen
2005-11-25 13:17 ` sjoerd siebinga
2005-11-25 14:25 ` Hans Hagen
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=B9D59CDC-D805-4680-A5CB-A90BB32EBFF9@zonnet.nl \
--to=sjoerdsiebinga@zonnet.nl \
--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).