ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* request for a quick & dirty hack: shift accents in compose=yes
@ 2011-05-20 19:25 Mojca Miklavec
  2011-05-20 19:33 ` Mojca Miklavec
  0 siblings, 1 reply; 5+ messages in thread
From: Mojca Miklavec @ 2011-05-20 19:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: request for a quick & dirty hack: shift accents in compose=yes
  2011-05-20 19:25 request for a quick & dirty hack: shift accents in compose=yes Mojca Miklavec
@ 2011-05-20 19:33 ` Mojca Miklavec
  2011-05-20 20:20   ` Aditya Mahajan
  2011-05-21 10:52   ` Arthur Reutenauer
  0 siblings, 2 replies; 5+ messages in thread
From: Mojca Miklavec @ 2011-05-20 19:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.lists@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
___________________________________________________________________________________

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

* Re: request for a quick & dirty hack: shift accents in compose=yes
  2011-05-20 19:33 ` Mojca Miklavec
@ 2011-05-20 20:20   ` Aditya Mahajan
  2011-05-21 10:52   ` Arthur Reutenauer
  1 sibling, 0 replies; 5+ messages in thread
From: Aditya Mahajan @ 2011-05-20 20:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: request for a quick & dirty hack: shift accents in compose=yes
  2011-05-20 19:33 ` Mojca Miklavec
  2011-05-20 20:20   ` Aditya Mahajan
@ 2011-05-21 10:52   ` Arthur Reutenauer
  2011-05-22  9:45     ` Hans Hagen
  1 sibling, 1 reply; 5+ messages in thread
From: Arthur Reutenauer @ 2011-05-21 10:52 UTC (permalink / raw)
  To: Mailing list for ConTeXt users

> 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
___________________________________________________________________________________


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

* Re: request for a quick & dirty hack: shift accents in compose=yes
  2011-05-21 10:52   ` Arthur Reutenauer
@ 2011-05-22  9:45     ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2011-05-22  9:45 UTC (permalink / raw)
  To: Mailing list for ConTeXt users

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
___________________________________________________________________________________


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

end of thread, other threads:[~2011-05-22  9:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-20 19:25 request for a quick & dirty hack: shift accents in compose=yes Mojca Miklavec
2011-05-20 19:33 ` Mojca Miklavec
2011-05-20 20:20   ` Aditya Mahajan
2011-05-21 10:52   ` Arthur Reutenauer
2011-05-22  9:45     ` 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).