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
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
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
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
On Sun, Oct 30, 2011 at 9:44 AM, Wolfgang Schuster
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
Am 30.10.2011 um 09:49 schrieb luigi scarso:
On Sun, Oct 30, 2011 at 9:44 AM, 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.
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
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 -----------------------------------------------------------------
participants (4)
-
Hans Hagen
-
luigi scarso
-
Paul Menzel
-
Wolfgang Schuster