Re: [NTG-context] request for a quick dirty hack: shift accents in compose=yes

2011-05-22 Thread Hans Hagen

On 21-5-2011 12:52, Arthur Reutenauer wrote:

Answering myself: I ended up using
 c\kern-7pt\hbox to 0pt{\textcaron\hss}\kern7pt
but it would be nice to add some options to allow fixing fonts on a
slightly more user-friendly level.


   And what do you expect the user interface to look like?  You're going
to need to add information in the font for each relevant glyph or glyph
pairs; it's a little bit like using a macro to adjust accent placement
at that point.


actually there is a goodie that permits this (see lucida-one.lfg)

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] request for a quick dirty hack: shift accents in compose=yes

2011-05-21 Thread Arthur Reutenauer
 Answering myself: I ended up using
 c\kern-7pt\hbox to 0pt{\textcaron\hss}\kern7pt
 but it would be nice to add some options to allow fixing fonts on a
 slightly more user-friendly level.

  And what do you expect the user interface to look like?  You're going
to need to add information in the font for each relevant glyph or glyph
pairs; it's a little bit like using a macro to adjust accent placement
at that point.

Arthur
___
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
___


[NTG-context] request for a quick dirty hack: shift accents in compose=yes

2011-05-20 Thread Mojca Miklavec
Hello,

I'm using a feature compose=yes

\definefontfeature
 [default]
 [liga=yes,kern=yes,tlig=yes,compose=yes]

in a handwritten font to get ccarons (font
SnellRoundhandLTStd-Scr.otf). However the carons are placed way off to
the right due to the nature of handwritten font.

Is there any simple, very-quick-and-dirty way to fix ConTeXt sources
(I need it very soon), so that carons would be placed a bit more to
the left? (I don't mind to do it just for this single document and
then forget about it?)

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
___


Re: [NTG-context] request for a quick dirty hack: shift accents in compose=yes

2011-05-20 Thread Mojca Miklavec
Answering myself: I ended up using
c\kern-7pt\hbox to 0pt{\textcaron\hss}\kern7pt
but it would be nice to add some options to allow fixing fonts on a
slightly more user-friendly level.

(Hans already started writing some hooks to adjust accent height, but
it would be nice to finish it, so that it could be applied to other
exotic fonts.)

Mojca

On Fri, May 20, 2011 at 21:25, Mojca Miklavec
mojca.miklavec.li...@gmail.com wrote:
 Hello,

 I'm using a feature compose=yes

 \definefontfeature
  [default]
  [liga=yes,kern=yes,tlig=yes,compose=yes]

 in a handwritten font to get ccarons (font
 SnellRoundhandLTStd-Scr.otf). However the carons are placed way off to
 the right due to the nature of handwritten font.

 Is there any simple, very-quick-and-dirty way to fix ConTeXt sources
 (I need it very soon), so that carons would be placed a bit more to
 the left? (I don't mind to do it just for this single document and
 then forget about it?)

 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
___

Re: [NTG-context] request for a quick dirty hack: shift accents in compose=yes

2011-05-20 Thread Aditya Mahajan

On Fri, 20 May 2011, Mojca Miklavec wrote:


(Hans already started writing some hooks to adjust accent height, but
it would be nice to finish it, so that it could be applied to other
exotic fonts.)


http://xkcd.com/619/

:)

Aditya
___
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
___