ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Fullstop too close with charter
@ 2007-07-09  4:00 Aditya Mahajan
  2007-07-09  7:28 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2007-07-09  4:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Is there a problem with font metrics for charter?

\definetypeface [mainface][rm][serif][charter][default]
                 [encoding=texnansi]
\setupbodyfont[mainface, 10pt]
\starttext
POMDP. Test
\stoptext

The dot is a bit too close to the P, almost touching the vertical 
line. Is there an easy way to correct this?

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Fullstop too close with charter
  2007-07-09  4:00 Fullstop too close with charter Aditya Mahajan
@ 2007-07-09  7:28 ` Hans Hagen
  2007-07-09 14:27   ` John R. Culleton
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2007-07-09  7:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Aditya Mahajan wrote:
> Is there a problem with font metrics for charter?
> 
> \definetypeface [mainface][rm][serif][charter][default]
>                  [encoding=texnansi]
> \setupbodyfont[mainface, 10pt]
> \starttext
> POMDP. Test
> \stoptext
> 
> The dot is a bit too close to the P, almost touching the vertical 
> line. Is there an easy way to correct this?

this is indeed a very annoying property of these font metrics (there are 
more such weird kern pairs), you can edit the afm files and regenerate 
the texnansi metrics

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Fullstop too close with charter
  2007-07-09  7:28 ` Hans Hagen
@ 2007-07-09 14:27   ` John R. Culleton
  2007-07-09 20:50     ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: John R. Culleton @ 2007-07-09 14:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Monday 09 July 2007 03:28, Hans Hagen wrote:
> Aditya Mahajan wrote:
> > Is there a problem with font metrics for charter?
> >
> > \definetypeface [mainface][rm][serif][charter][default]
> >                  [encoding=texnansi]
> > \setupbodyfont[mainface, 10pt]
> > \starttext
> > POMDP. Test
> > \stoptext
> >
> > The dot is a bit too close to the P, almost touching the vertical
> > line. Is there an easy way to correct this?
>
The easy way is to break the pair and then type e.g.:
POMDP\kern -0.1pt.

...or whatever distance suits your eye.  You will need to test the 
distance. The number of these occurrences should be small.  A 
slightly harder way as to define a macro for each combination that 
troubles you. Or you can do what Hans suggests below as a more 
general solution.  But I would test the distances first.

> this is indeed a very annoying property of these font metrics
> (there are more such weird kern pairs), you can edit the afm files
> and regenerate the texnansi metrics
>
> Hans
>
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | fax: 038 477 53 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  :
> https://foundry.supelec.fr/projects/contextrev/ wiki     :
> http://contextgarden.net
> ___________________________________________________________________
>________________
>
>
> _________________________________________________________________
> Need personalized email and website? Look no further. It's easy
> with Doteasy $0 Web Hosting! Learn more at www.doteasy.com

-- 
John Culleton
ATTN Publishers/authors:
If you don't read you don't succeed.
Free short list of publishing/marketing books. 
http://wexfordpress.com/tex/shortlist.pdf




_________________________________________________________________
Need personalized email and website? Look no further. It's easy
with Doteasy $0 Web Hosting! Learn more at www.doteasy.com
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Fullstop too close with charter
  2007-07-09 14:27   ` John R. Culleton
@ 2007-07-09 20:50     ` Aditya Mahajan
  0 siblings, 0 replies; 4+ messages in thread
From: Aditya Mahajan @ 2007-07-09 20:50 UTC (permalink / raw)
  To: ntg-context

Quoting "John R. Culleton" <john@wexfordpress.com>:

> On Monday 09 July 2007 03:28, Hans Hagen wrote:
>> Aditya Mahajan wrote:
>> > Is there a problem with font metrics for charter?
>> >
>> > \definetypeface [mainface][rm][serif][charter][default]
>> >                  [encoding=texnansi]
>> > \setupbodyfont[mainface, 10pt]
>> > \starttext
>> > POMDP. Test
>> > \stoptext
>> >
>> > The dot is a bit too close to the P, almost touching the vertical
>> > line. Is there an easy way to correct this?
>>
> The easy way is to break the pair and then type e.g.:
> POMDP\kern -0.1pt.
>
> ...or whatever distance suits your eye.  You will need to test the
> distance. The number of these occurrences should be small.  A
> slightly harder way as to define a macro for each combination that
> troubles you. Or you can do what Hans suggests below as a more
> general solution.  But I would test the distances first.
>
>> this is indeed a very annoying property of these font metrics
>> (there are more such weird kern pairs), you can edit the afm files
>> and regenerate the texnansi metrics

Thank You. For the time being I have done manual correction since I 
have to finish the whole thing by tomorrow.  I will explore modifying 
afm files when I have a bit more time.

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


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

end of thread, other threads:[~2007-07-09 20:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-09  4:00 Fullstop too close with charter Aditya Mahajan
2007-07-09  7:28 ` Hans Hagen
2007-07-09 14:27   ` John R. Culleton
2007-07-09 20:50     ` Aditya Mahajan

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