ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Fontsizes in Adobe Acrobat vs ConTeXt
@ 2021-07-20 11:09 denis.maier
  2021-07-20 11:12 ` Henning Hraban Ramm
  0 siblings, 1 reply; 6+ messages in thread
From: denis.maier @ 2021-07-20 11:09 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1227 bytes --]

Hi,

I have to reproduce a book layout that was done in Adobe Indesign, and I don't really manage to get the right fontsizes, i.e. according to Acrobat Pro the fonts are consistently a bit smaller then expected.
That may well be an Adobe problem, it's just that I have to aim for rather specific target values... As you can see below the deviation is not so significant with the normal font size and bigger sizes, but more so with the smaller sizes.


% ----------------------------------------------------------------------
\setupbodyfont[10pt]
\definebodyfontenvironment
                [default]
                [xx=0.7,
                x=0.85,
                a=1.175,
                b=1.5,
                ]

\starttext


{\tfxx Smallest } % => expected 7pt, actual 5.98pt

{\tfx Small} % => expected 8.5pt, actual 7.97pt

{\tf Normal} % => expected 10pt, actual 9.96pt

{\tfa Larger} % => expected 11.75pt, actual 11.71pt

{\tfb Largest} % => expected 15pt, actual 14.94pt

\stoptext
% ----------------------------------------------------------------------

Any ideas, how I could get that right? (The project uses Noto Serif, but the same happens there.)

Thanks for you help,
Denis

[-- Attachment #1.2: Type: text/html, Size: 4681 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Fontsizes in Adobe Acrobat vs ConTeXt
  2021-07-20 11:09 Fontsizes in Adobe Acrobat vs ConTeXt denis.maier
@ 2021-07-20 11:12 ` Henning Hraban Ramm
  2021-07-20 11:43   ` denis.maier
  0 siblings, 1 reply; 6+ messages in thread
From: Henning Hraban Ramm @ 2021-07-20 11:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> Am 20.07.2021 um 13:09 schrieb denis.maier@unibe.ch:
> 
> Hi,
>  
> I have to reproduce a book layout that was done in Adobe Indesign, and I don’t really manage to get the right fontsizes, i.e. according to Acrobat Pro the fonts are consistently a bit smaller then expected.
> That may well be an Adobe problem, it’s just that I have to aim for rather specific target values... As you can see below the deviation is not so significant with the normal font size and bigger sizes, but more so with the smaller sizes.

The TeX point is smaller than the PostScript/DTP point.
Use the unit "bp" to get the same sizes as in desktop apps.

See https://en.wikipedia.org/wiki/Point_(typography)

Hraban

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Fontsizes in Adobe Acrobat vs ConTeXt
  2021-07-20 11:12 ` Henning Hraban Ramm
@ 2021-07-20 11:43   ` denis.maier
  2021-07-29 12:19     ` Denis Maier via ntg-context
  0 siblings, 1 reply; 6+ messages in thread
From: denis.maier @ 2021-07-20 11:43 UTC (permalink / raw)
  To: ntg-context, texml

> -----Ursprüngliche Nachricht-----
> Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von Henning
> Hraban Ramm
> Gesendet: Dienstag, 20. Juli 2021 13:12
> An: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Betreff: Re: [NTG-context] Fontsizes in Adobe Acrobat vs ConTeXt
> 
> 
> 
> > Am 20.07.2021 um 13:09 schrieb denis.maier@unibe.ch:
> >
> > Hi,
> >
> > I have to reproduce a book layout that was done in Adobe Indesign, and I
> don’t really manage to get the right fontsizes, i.e. according to Acrobat Pro the
> fonts are consistently a bit smaller then expected.
> > That may well be an Adobe problem, it’s just that I have to aim for rather
> specific target values... As you can see below the deviation is not so significant
> with the normal font size and bigger sizes, but more so with the smaller sizes.
> 
> The TeX point is smaller than the PostScript/DTP point.
> Use the unit "bp" to get the same sizes as in desktop apps.
> 
> See https://en.wikipedia.org/wiki/Point_(typography)
> 
> Hraban

Thanks for your help. That's already better. The base font size, and the bigger sizes are correct now. But it still does not work with the smaller sizes:

% ---------------------------------------
\setupbodyfont[10bp] 
\definebodyfontenvironment
	[10bp]
	[xx=7bp,
	x=8.5bp,
	a=11.75bp, 
	b=15bp,
	] 

\starttext


{\tfxx Smallest } % => expected 7pt, actual 6pt with LM Roman 7

{\tfx Small} % => expected 8.5pt, actual 8pt with LM Roman 9

{\tf Normal} % => expected 10pt, ok

{\tfa Larger} % => expected 11.75pt, ok

{\tfb Largest} % => expected 15pt, ok

\stoptext
%-------------------------------------------------------

Maybe that's an issue with optical sizes?

Best,
Denis
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Fontsizes in Adobe Acrobat vs ConTeXt
  2021-07-20 11:43   ` denis.maier
@ 2021-07-29 12:19     ` Denis Maier via ntg-context
  2021-07-29 13:07       ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 6+ messages in thread
From: Denis Maier via ntg-context @ 2021-07-29 12:19 UTC (permalink / raw)
  To: ntg-context, texml; +Cc: denis.maier

This question is still not resolved. Maybe someone has another hint?

Best,
Denis

> -----Ursprüngliche Nachricht-----
> Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von
> denis.maier@unibe.ch
> Gesendet: Dienstag, 20. Juli 2021 13:44
> An: ntg-context@ntg.nl; texml@fiee.net
> Betreff: Re: [NTG-context] Fontsizes in Adobe Acrobat vs ConTeXt
> 
> > -----Ursprüngliche Nachricht-----
> > Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von Henning
> > Hraban Ramm
> > Gesendet: Dienstag, 20. Juli 2021 13:12
> > An: mailing list for ConTeXt users <ntg-context@ntg.nl>
> > Betreff: Re: [NTG-context] Fontsizes in Adobe Acrobat vs ConTeXt
> >
> >
> >
> > > Am 20.07.2021 um 13:09 schrieb denis.maier@unibe.ch:
> > >
> > > Hi,
> > >
> > > I have to reproduce a book layout that was done in Adobe Indesign,
> > > and I
> > don’t really manage to get the right fontsizes, i.e. according to
> > Acrobat Pro the fonts are consistently a bit smaller then expected.
> > > That may well be an Adobe problem, it’s just that I have to aim for
> > > rather
> > specific target values... As you can see below the deviation is not so
> > significant with the normal font size and bigger sizes, but more so with the
> smaller sizes.
> >
> > The TeX point is smaller than the PostScript/DTP point.
> > Use the unit "bp" to get the same sizes as in desktop apps.
> >
> > See https://en.wikipedia.org/wiki/Point_(typography)
> >
> > Hraban
> 
> Thanks for your help. That's already better. The base font size, and the bigger
> sizes are correct now. But it still does not work with the smaller sizes:
> 
> % ---------------------------------------
> \setupbodyfont[10bp]
> \definebodyfontenvironment
> 	[10bp]
> 	[xx=7bp,
> 	x=8.5bp,
> 	a=11.75bp,
> 	b=15bp,
> 	]
> 
> \starttext
> 
> 
> {\tfxx Smallest } % => expected 7pt, actual 6pt with LM Roman 7
> 
> {\tfx Small} % => expected 8.5pt, actual 8pt with LM Roman 9
> 
> {\tf Normal} % => expected 10pt, ok
> 
> {\tfa Larger} % => expected 11.75pt, ok
> 
> {\tfb Largest} % => expected 15pt, ok
> 
> \stoptext
> %-------------------------------------------------------
> 
> Maybe that's an issue with optical sizes?
> 
> Best,
> Denis
> ________________________________________________________________
> ___________________
> 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://context.aanhet.net archive  :
> https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ________________________________________________________________
> ___________________
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Fontsizes in Adobe Acrobat vs ConTeXt
  2021-07-29 12:19     ` Denis Maier via ntg-context
@ 2021-07-29 13:07       ` Hans Hagen via ntg-context
  2021-07-29 13:12         ` Denis Maier via ntg-context
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen via ntg-context @ 2021-07-29 13:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users, texml; +Cc: Hans Hagen

On 7/29/2021 2:19 PM, Denis Maier via ntg-context wrote:
> This question is still not resolved. Maybe someone has another hint?
order matters ... first define the bodyfontenviromnent

Hans



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Fontsizes in Adobe Acrobat vs ConTeXt
  2021-07-29 13:07       ` Hans Hagen via ntg-context
@ 2021-07-29 13:12         ` Denis Maier via ntg-context
  0 siblings, 0 replies; 6+ messages in thread
From: Denis Maier via ntg-context @ 2021-07-29 13:12 UTC (permalink / raw)
  To: j.hagen, ntg-context, texml; +Cc: denis.maier

> -----Ursprüngliche Nachricht-----
> Von: Hans Hagen <j.hagen@xs4all.nl>
> Gesendet: Donnerstag, 29. Juli 2021 15:08
> An: mailing list for ConTeXt users <ntg-context@ntg.nl>; texml@fiee.net
> Cc: Maier, Denis Christian (UB) <denis.maier@unibe.ch>
> Betreff: Re: [NTG-context] Fontsizes in Adobe Acrobat vs ConTeXt
> 
> On 7/29/2021 2:19 PM, Denis Maier via ntg-context wrote:
> > This question is still not resolved. Maybe someone has another hint?
> order matters ... first define the bodyfontenviromnent

Thanks. That was it.

Denis
> 
> Hans
> 
> 
> 
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>         tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2021-07-29 13:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-20 11:09 Fontsizes in Adobe Acrobat vs ConTeXt denis.maier
2021-07-20 11:12 ` Henning Hraban Ramm
2021-07-20 11:43   ` denis.maier
2021-07-29 12:19     ` Denis Maier via ntg-context
2021-07-29 13:07       ` Hans Hagen via ntg-context
2021-07-29 13:12         ` Denis Maier via ntg-context

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