ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* composing characters in MKIV
@ 2010-09-30 18:31 Mojca Miklavec
  2010-09-30 20:14 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Mojca Miklavec @ 2010-09-30 18:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear Hans (or anyone else),

There are some fonts (including Lucida) that don't have all the needed
character. A font feature "compose=yes" has been added to MKIV, but
that one doesn't work for Lucida or any other Type1 font.

My current fallback is to use:

% this doesn't help
% \definefontfeature
%   [compose]
%   [liga=yes,kern=yes,tlig=yes,compose=yes]
\beginNEWTEX
\catcode`č=\active
\catcode`Č=\active
\defč{\buildtextaccent\textcaron c}
\defČ{\buildtextaccent\textcaron C}
\endNEWTEX

But nevertheless a few questions:
- Is there some "accessible" method to compose a few characters in the
font (not too low-level) as opposed to using active characters? The
code must be there already since this is supposed to work for OpenType
fonts.
- Is there any way to fix horizontal and vertical position of accents
(on glyph-per-glyph basis; that one probably needs to be slightly more
low-level; maybe using lfg files)?
- Do lfg files work for non-opentype (Type1) fonts?

Thanks a lot,
   Mojca
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-30 21:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-30 18:31 composing characters in MKIV Mojca Miklavec
2010-09-30 20:14 ` Hans Hagen
2010-09-30 21:14   ` Mojca Miklavec
2010-09-30 21:21     ` Hans Hagen

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).