Re: [ft-devel] Can freetype be more tolerant with this font?

2019-01-08 Thread Chris Liddell
On 07/01/2019 20:07, Alexei Podtelezhnikov wrote: >>> I am testing with ftview and ftstring: statically linked - no >>> problem. dynamically linked - yes problem. > > "make devel" defines T1_CONFIG_OPTION_OLD_ENGINE, which calls > t1_decoder_parse_charstrings and it works. > otherwise,

Re: [ft-devel] Can freetype be more tolerant with this font?

2019-01-07 Thread Alexei Podtelezhnikov
> > I am testing with ftview and ftstring: statically linked - no > > problem. dynamically linked - yes problem. "make devel" defines T1_CONFIG_OPTION_OLD_ENGINE, which calls t1_decoder_parse_charstrings and it works. otherwise, cf2_decoder_parse_charstrings is called and it does not work. They

Re: [ft-devel] Can freetype be more tolerant with this font?

2019-01-04 Thread Werner LEMBERG
>> I'm still seeing the same problem (freetype from git, as of a >> couple minutes ago; testing with my Xpdf code). > > I am testing with ftview and ftstring: statically linked - no > problem. dynamically linked - yes problem. > > How is this even possible? `strace' is probably your

Re: [ft-devel] Can freetype be more tolerant with this font?

2019-01-04 Thread Alexei Podtelezhnikov
> > > It appears that this got fixed between 2.9.1 and current head, which > > > parses and renders "m" just fine. I have no idea what fixed it. > > > > master still has this problem for me. > > > > Can some body else please confirm if the font renders fine for them? > > I'm still seeing the same

Re: [ft-devel] Can freetype be more tolerant with this font?

2019-01-04 Thread Derek B. Noonburg
On Thu, 03 Jan 2019 22:48:35 +0100 Albert Astals Cid wrote: > El dijous, 3 de gener de 2019, a les 3:09:38 CET, Alexei > Podtelezhnikov va escriure: > > > > Adobe renders this "m". > > > > > > Thanks to all for checking. > > > > > > Alexei, can you take care of this? > > > > It appears that

Re: [ft-devel] Can freetype be more tolerant with this font?

2019-01-03 Thread Albert Astals Cid
El dijous, 3 de gener de 2019, a les 3:09:38 CET, Alexei Podtelezhnikov va escriure: > > > Adobe renders this "m". > > > > Thanks to all for checking. > > > > Alexei, can you take care of this? > > It appears that this got fixed between 2.9.1 and current head, which > parses and renders "m" just

Re: [ft-devel] Can freetype be more tolerant with this font?

2019-01-02 Thread Alexei Podtelezhnikov
> > Adobe renders this "m". > > Thanks to all for checking. > > Alexei, can you take care of this? It appears that this got fixed between 2.9.1 and current head, which parses and renders "m" just fine. I have no idea what fixed it. ___ Freetype-devel

Re: [ft-devel] Can freetype be more tolerant with this font?

2019-01-02 Thread Werner LEMBERG
>> > By the way, does Adobe render this file properly? That would be a >> > strong argument to support it too. >> >> Indeed. Let's make this the decisive argument. > > Adobe renders this "m". Thanks to all for checking. Alexei, can you take care of this? Right now I'm overwhelmed with family

Re: [ft-devel] Can freetype be more tolerant with this font?

2019-01-02 Thread Derek B. Noonburg
On Wed, 2 Jan 2019 11:20:15 -0500 Alexei Podtelezhnikov wrote: > > > By the way, does Adobe render this file properly? That would be a > > > strong argument to support it too. > > > > Indeed. Let's make this the decisive argument. > > Adobe renders this "m". I can confirm that multiple

Re: [ft-devel] Can freetype be more tolerant with this font?

2019-01-02 Thread Alexei Podtelezhnikov
> > By the way, does Adobe render this file properly? That would be a > > strong argument to support it too. > > Indeed. Let's make this the decisive argument. Adobe renders this "m". I wonder if this is actually a parser error when it produces a nonsense contour. Contour 1 92 x: 456

Re: [ft-devel] Can freetype be more tolerant with this font?

2019-01-01 Thread Werner LEMBERG
>> Ok, so the font is not correctly formed, but it seems that freetype >> can still render it "just fine". > > [...] > > By the way, does Adobe render this file properly? That would be a > strong argument to support it too. Indeed. Let's make this the decisive argument. Werner

Re: [ft-devel] Can freetype be more tolerant with this font?

2019-01-01 Thread Alexei Podtelezhnikov
> > > I obviously have no idea how important the check for FT_CURVE_TAG_CUBIC > > > is, just that for this particular font removing it makes it work. > > > > Below is the dump of the m outline data. The contour 1 contains a run > > of four control points FT_CURVE_TAG_CUBIC (0x2), which is not how

Re: [ft-devel] Can freetype be more tolerant with this font?

2019-01-01 Thread Albert Astals Cid
El dilluns, 31 de desembre de 2018, a les 14:44:10 CET, Alexei Podtelezhnikov va escriure: > > I obviously have no idea how important the check for FT_CURVE_TAG_CUBIC is, > > just that for this particular font removing it makes it work. > > Below is the dump of the m outline data. The contour 1

Re: [ft-devel] Can freetype be more tolerant with this font?

2018-12-31 Thread Alexei Podtelezhnikov
> I obviously have no idea how important the check for FT_CURVE_TAG_CUBIC is, > just that for this particular font removing it makes it work. Below is the dump of the m outline data. The contour 1 contains a run of four control points FT_CURVE_TAG_CUBIC (0x2), which is not how a Bezier curve

[ft-devel] Can freetype be more tolerant with this font?

2018-12-23 Thread Albert Astals Cid
Hi, if try to render this pdf file https://gitlab.freedesktop.org/poppler/poppler/uploads/0d2f71bf676d3136f8b4ffec534163c0/test.pdf with poppler you'll see it's missing an m https://i.imgur.com/EX6PUym.png I can "fix" it with this patch diff --git a/src/base/ftoutln.c