ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* ⅛ not displayed
@ 2011-10-29 16:27 Paul Menzel
  2011-10-29 21:12 ` ⅛ not displayed in Latin Modern Paul Menzel
  2011-10-30  8:44 ` ⅛ not displayed Wolfgang Schuster
  0 siblings, 2 replies; 7+ messages in thread
From: Paul Menzel @ 2011-10-29 16:27 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1.1: Type: text/plain, Size: 318 bytes --]

Dear ConTeXt folks,


some fractions (input using Compose) are not displayed in the resulting
PDF files.

        \starttext
        ⅛ ist $\frac18$.
        
        ½, ⅓, ¼, ⅕, ⅙, ⅛
        \stoptext

I guess this is a font problem, but maybe fall backs could be added?


Thanks,

Paul

[-- Attachment #1.1.2: eigths.pdf --]
[-- Type: application/pdf, Size: 7019 bytes --]

[-- Attachment #1.1.3: eigths.tex --]
[-- Type: text/x-tex, Size: 73 bytes --]

\starttext
⅛ ist $\frac18$.

½, ⅓, ¼, ⅕, ⅙, ⅛
\stoptext

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re:  ⅛ not displayed in Latin Modern
  2011-10-29 16:27 ⅛ not displayed Paul Menzel
@ 2011-10-29 21:12 ` Paul Menzel
  2011-10-29 21:22   ` Paul Menzel
  2011-10-30  8:44 ` ⅛ not displayed Wolfgang Schuster
  1 sibling, 1 reply; 7+ messages in thread
From: Paul Menzel @ 2011-10-29 21:12 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1.1: Type: text/plain, Size: 719 bytes --]

Dear ConTeXt folks,


Am Samstag, den 29.10.2011, 18:27 +0200 schrieb Paul Menzel:

> some fractions (input using Compose) are not displayed in the resulting
> PDF files.
> 
>         \starttext
>         ⅛ ist $\frac18$.
>         
>         ½, ⅓, ¼, ⅕, ⅙, ⅛
>         \stoptext
> 
> I guess this is a font problem,

using XITS [1][2] (Is that the also the fonts name?), everything is
shown correctly.

        \setupbodyfont[xits]
        
        \starttext
        ⅛ ist $\frac18$.
        
        ½, ⅓, ¼, ⅕, ⅙, ⅛
        \stoptext

> but maybe fall backs could be added?

Since I am wondering why ½ should work but not for example ⅛.


Thanks,

Paul

[-- Attachment #1.1.2: eigths.pdf --]
[-- Type: application/pdf, Size: 7379 bytes --]

[-- Attachment #1.1.3: eigths.tex --]
[-- Type: text/x-tex, Size: 97 bytes --]

\setupbodyfont[xits]

\starttext
⅛ ist $\frac18$.

½, ⅓, ¼, ⅕, ⅙, ⅛
\stoptext

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re:  ⅛ not displayed in Latin Modern
  2011-10-29 21:12 ` ⅛ not displayed in Latin Modern Paul Menzel
@ 2011-10-29 21:22   ` Paul Menzel
  0 siblings, 0 replies; 7+ messages in thread
From: Paul Menzel @ 2011-10-29 21:22 UTC (permalink / raw)
  To: ntg-context


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

Dear ConTeXt folks,


I forgot to append the links.

Am Samstag, den 29.10.2011, 23:12 +0200 schrieb Paul Menzel:

> Am Samstag, den 29.10.2011, 18:27 +0200 schrieb Paul Menzel:
> 
> > some fractions (input using Compose) are not displayed in the resulting
> > PDF files.
> > 
> >         \starttext
> >         ⅛ ist $\frac18$.
> >         
> >         ½, ⅓, ¼, ⅕, ⅙, ⅛
> >         \stoptext
> > 
> > I guess this is a font problem,
> 
> using XITS [1][2] (Is that the also the fonts name?), everything is
> shown correctly.
> 
>         \setupbodyfont[xits]
>         
>         \starttext
>         ⅛ ist $\frac18$.
>         
>         ½, ⅓, ¼, ⅕, ⅙, ⅛
>         \stoptext
> 
> > but maybe fall backs could be added?
> 
> Since I am wondering why ½ should work but not for example ⅛.


Thanks,

Paul


[1] https://github.com/khaledhosny/xits-math
[2] https://en.wikipedia.org/wiki/XITS_font_project

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: ⅛ not displayed
  2011-10-29 16:27 ⅛ not displayed Paul Menzel
  2011-10-29 21:12 ` ⅛ not displayed in Latin Modern Paul Menzel
@ 2011-10-30  8:44 ` Wolfgang Schuster
  2011-10-30  8:49   ` luigi scarso
  2011-10-30 16:52   ` Hans Hagen
  1 sibling, 2 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2011-10-30  8:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 29.10.2011 um 18:27 schrieb Paul Menzel:

> Dear ConTeXt folks,
> 
> 
> some fractions (input using Compose) are not displayed in the resulting
> PDF files.
> 
>        \starttext
>        ⅛ ist $\frac18$.
> 
>        ½, ⅓, ¼, ⅕, ⅙, ⅛
>        \stoptext
> 
> I guess this is a font problem, but maybe fall backs could be added?

You can’t expect from a font to have glyphs for each unicode symbol
and automatic fallbacks are problematic because the fallback font should
match with the regular font.

Wolfgang

___________________________________________________________________________________
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] 7+ messages in thread

* Re: ⅛ not displayed
  2011-10-30  8:44 ` ⅛ not displayed Wolfgang Schuster
@ 2011-10-30  8:49   ` luigi scarso
  2011-10-30 10:04     ` Wolfgang Schuster
  2011-10-30 16:52   ` Hans Hagen
  1 sibling, 1 reply; 7+ messages in thread
From: luigi scarso @ 2011-10-30  8:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Oct 30, 2011 at 9:44 AM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
>
> Am 29.10.2011 um 18:27 schrieb Paul Menzel:
>
>> Dear ConTeXt folks,
>>
>>
>> some fractions (input using Compose) are not displayed in the resulting
>> PDF files.
>>
>>        \starttext
>>        ⅛ ist $\frac18$.
>>
>>        ½, ⅓, ¼, ⅕, ⅙, ⅛
>>        \stoptext
>>
>> I guess this is a font problem, but maybe fall backs could be added?
>
> You can’t expect from a font to have glyphs for each unicode symbol
> and automatic fallbacks are problematic because the fallback font should
> match with the regular font.
For latin modern we can use Symbola
http://users.teilar.gr/~g1951d/
-- 
luigi
___________________________________________________________________________________
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] 7+ messages in thread

* Re: ⅛ not displayed
  2011-10-30  8:49   ` luigi scarso
@ 2011-10-30 10:04     ` Wolfgang Schuster
  0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2011-10-30 10:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 30.10.2011 um 09:49 schrieb luigi scarso:

> On Sun, Oct 30, 2011 at 9:44 AM, Wolfgang Schuster
> <schuster.wolfgang@googlemail.com> wrote:
>> 
>> Am 29.10.2011 um 18:27 schrieb Paul Menzel:
>> 
>>> Dear ConTeXt folks,
>>> 
>>> 
>>> some fractions (input using Compose) are not displayed in the resulting
>>> PDF files.
>>> 
>>>        \starttext
>>>        ⅛ ist $\frac18$.
>>> 
>>>        ½, ⅓, ¼, ⅕, ⅙, ⅛
>>>        \stoptext
>>> 
>>> I guess this is a font problem, but maybe fall backs could be added?
>> 
>> You can’t expect from a font to have glyphs for each unicode symbol
>> and automatic fallbacks are problematic because the fallback font should
>> match with the regular font.
> For latin modern we can use Symbola
> http://users.teilar.gr/~g1951d/

They don’t match that well, even when you scale Symbola to fit Latin Modern
you can see a difference (simplefonts use only the 10pt size of LM).

\usemodule[simplefonts]

\setmainfontfallback[Symbola][range=numberforms]
\setmainfont[Latin Modern Roman]

\starttext
½ ⅓ ¼ ¾ ⅕ ⅙ ⅛ ↉
\stoptext

Wolfgang

___________________________________________________________________________________
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] 7+ messages in thread

* Re: ⅛ not displayed
  2011-10-30  8:44 ` ⅛ not displayed Wolfgang Schuster
  2011-10-30  8:49   ` luigi scarso
@ 2011-10-30 16:52   ` Hans Hagen
  1 sibling, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2011-10-30 16:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 30-10-2011 09:44, Wolfgang Schuster wrote:
>
> Am 29.10.2011 um 18:27 schrieb Paul Menzel:
>
>> Dear ConTeXt folks,
>>
>>
>> some fractions (input using Compose) are not displayed in the resulting
>> PDF files.
>>
>>         \starttext
>>         ⅛ ist $\frac18$.
>>
>>         ½, ⅓, ¼, ⅕, ⅙, ⅛
>>         \stoptext
>>
>> I guess this is a font problem, but maybe fall backs could be added?
>
> You can’t expect from a font to have glyphs for each unicode symbol
> and automatic fallbacks are problematic because the fallback font should
> match with the regular font.

Indeed, and we should not go the route of all kind of messy fallbacks 
just because tex could do it (using active characters or whatever 
trickery) which on the average looks bad anyway. One should just choose 
a proper font for the job to be done.

I added a replace option to \enabletrackers[fonts.missing=replace] (can 
best be set before any font is loaded, so pretty soon) which will show 
missing characters. Also,

context s-fonts-missing.mkiv

will show the legend (in the next beta that is). Btw, we already have
\enabletrackers [fonts.missing] and \enabletrackers 
[fonts.missing=remove] for quite a while.

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] 7+ messages in thread

end of thread, other threads:[~2011-10-30 16:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-29 16:27 ⅛ not displayed Paul Menzel
2011-10-29 21:12 ` ⅛ not displayed in Latin Modern Paul Menzel
2011-10-29 21:22   ` Paul Menzel
2011-10-30  8:44 ` ⅛ not displayed Wolfgang Schuster
2011-10-30  8:49   ` luigi scarso
2011-10-30 10:04     ` Wolfgang Schuster
2011-10-30 16:52   ` 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).