Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-02-02 Thread Nicolai Hess
2015-02-02 11:23 GMT+01:00 Ben Coman : > > > On Mon, Feb 2, 2015 at 8:06 AM, Nicolai Hess wrote: > >> Ok, the best I could do: >> >> Sadly, it only works because I changed the default lcd_filter from cairo. >> in cairo 1.7. was a public API for the lcd_filter. >> since 1.8 this API is private aga

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-02-02 Thread Igor Stasenko
On 2 February 2015 at 12:31, Nicolai Hess wrote: > > 2015-02-02 10:46 GMT+01:00 Igor Stasenko : > >> >> >> On 2 February 2015 at 01:06, Nicolai Hess wrote: >> >>> Ok, the best I could do: >>> >>> Sadly, it only works because I changed the default lcd_filter from cairo. >>> in cairo 1.7. was a pu

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-02-02 Thread Nicolai Hess
2015-02-02 11:13 GMT+01:00 p...@highoctane.be : > > > On Mon, Feb 2, 2015 at 10:51 AM, Sven Van Caekenberghe > wrote: > >> >> > On 02 Feb 2015, at 01:06, Nicolai Hess wrote: >> > >> > I do not know, and I'm starting to lose all interest. >> >> Nicolai, >> >> Please don't give up. >> > > Yeah, do

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-02-02 Thread Nicolai Hess
2015-02-02 10:46 GMT+01:00 Igor Stasenko : > > > On 2 February 2015 at 01:06, Nicolai Hess wrote: > >> Ok, the best I could do: >> >> Sadly, it only works because I changed the default lcd_filter from cairo. >> in cairo 1.7. was a public API for the lcd_filter. >> since 1.8 this API is private ag

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-02-02 Thread Sven Van Caekenberghe
> On 02 Feb 2015, at 11:40, stepharo wrote: > > + 1 ^ 1 You mean, + 1 ** 1, right ;-) > Stef > Le 2/2/15 10:51, Sven Van Caekenberghe a écrit : >>> On 02 Feb 2015, at 01:06, Nicolai Hess wrote: >>> >>> I do not know, and I'm starting to lose all interest. >> Nicolai, >> >> P

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-02-02 Thread stepharo
+ 1 ^ 1 Stef Le 2/2/15 10:51, Sven Van Caekenberghe a écrit : On 02 Feb 2015, at 01:06, Nicolai Hess wrote: I do not know, and I'm starting to lose all interest. Nicolai, Please don't give up. You are doing great work and we are all *very* impressed with your attitude/drive/motivat

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-02-02 Thread Igor Stasenko
On 2 February 2015 at 11:23, Ben Coman wrote: > > > On Mon, Feb 2, 2015 at 8:06 AM, Nicolai Hess wrote: > >> Ok, the best I could do: >> >> Sadly, it only works because I changed the default lcd_filter from cairo. >> in cairo 1.7. was a public API for the lcd_filter. >> since 1.8 this API is pri

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-02-02 Thread Ben Coman
On Mon, Feb 2, 2015 at 8:06 AM, Nicolai Hess wrote: > Ok, the best I could do: > > Sadly, it only works because I changed the default lcd_filter from cairo. > in cairo 1.7. was a public API for the lcd_filter. > since 1.8 this API is private again (the code for the different filter > settings is

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-02-02 Thread p...@highoctane.be
On Mon, Feb 2, 2015 at 10:51 AM, Sven Van Caekenberghe wrote: > > > On 02 Feb 2015, at 01:06, Nicolai Hess wrote: > > > > I do not know, and I'm starting to lose all interest. > > Nicolai, > > Please don't give up. > Yeah, don't. You rock. > > You are doing great work and we are all *very* imp

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-02-02 Thread Igor Stasenko
Another idea would be to create a freetype face instance by directly calling freetype library, avoiding any interference with freetype plugin and in-image code for it etc. Because i suspecting there's something with the way it handles options/font matrix etc, that at some point got overridden, whi

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-02-02 Thread Sven Van Caekenberghe
> On 02 Feb 2015, at 01:06, Nicolai Hess wrote: > > I do not know, and I'm starting to lose all interest. Nicolai, Please don't give up. You are doing great work and we are all *very* impressed with your attitude/drive/motivation, especially since you are covering such a wide range of subj

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-02-02 Thread Igor Stasenko
On 2 February 2015 at 01:06, Nicolai Hess wrote: > Ok, the best I could do: > > Sadly, it only works because I changed the default lcd_filter from cairo. > in cairo 1.7. was a public API for the lcd_filter. > since 1.8 this API is private again (the code for the different filter > settings is sti

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-02-01 Thread Nicolai Hess
Ok, the best I could do: Sadly, it only works because I changed the default lcd_filter from cairo. in cairo 1.7. was a public API for the lcd_filter. since 1.8 this API is private again (the code for the different filter settings is still there). You can choose between FT_LCD_FILTER_NONE FT_LCD_FI

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-02-01 Thread Nicolai Hess
patents! Hours, and days digging in the code for font rendering with cairo. I tried to find out why this "colored" subpixel antialising is not working although all option settings are set (in cairo) and in the source code of cairo the FT_SetLCDFilter call is really used! But the output does i

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-01-31 Thread stepharo
In athens, there are "hints" you can set. (CairoFontOptions/hintMetricsOff/hintMetricsOn/hintStyleFull ) I played a bit with different settings. Changing this settings change the output, but I can not get it to look like with the freetype plugin. I understand that this can not look equally

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-01-26 Thread Nicolai Hess
2015-01-26 11:35 GMT+01:00 Henrik Johansen : > > > On 25 Jan 2015, at 9:38 , Nicolai Hess wrote: > > > > It looks like this gray-scale vs. colored subpixel antialiasing is an > issue on windows. > > I did the same test on linux (Ubuntu 14.04) (screenshot attached). > > But still, the font renderi

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-01-26 Thread Henrik Johansen
> On 25 Jan 2015, at 9:38 , Nicolai Hess wrote: > > It looks like this gray-scale vs. colored subpixel antialiasing is an issue > on windows. > I did the same test on linux (Ubuntu 14.04) (screenshot attached). > But still, the font rendering with the freetype plugin (morphic way) looks > bett

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-01-25 Thread Nicolai Hess
It looks like this gray-scale vs. colored subpixel antialiasing is an issue on windows. I did the same test on linux (Ubuntu 14.04) (screenshot attached). But still, the font rendering with the freetype plugin (morphic way) looks better than the athens one. any ideas/help?

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-01-13 Thread Esteban Lorenzano
> On 13 Jan 2015, at 13:48, stepharo wrote: > > > Le 12/1/15 19:19, stepharo a écrit : >> Igor once explained to me that FreeType has the possibility to degrade fonts >> when the family does not provide it. >> Cairo does not have this possibility. >> Esteban I'm sure that the same code is used

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-01-13 Thread stepharo
Le 12/1/15 19:19, stepharo a écrit : Igor once explained to me that FreeType has the possibility to degrade fonts when the family does not provide it. Cairo does not have this possibility. Esteban I'm sure that the same code is used. FreeType is much more advanced than Cairo when it is about f

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-01-12 Thread Nicolai Hess
2015-01-12 19:19 GMT+01:00 stepharo : > Igor once explained to me that FreeType has the possibility to degrade > fonts when the family does not provide it. > Cairo does not have this possibility. > Esteban I'm sure that the same code is used. FreeType is much more > advanced than Cairo when it is

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-01-12 Thread stepharo
Igor once explained to me that FreeType has the possibility to degrade fonts when the family does not provide it. Cairo does not have this possibility. Esteban I'm sure that the same code is used. FreeType is much more advanced than Cairo when it is about fonts. Stef Le 11/1/15 22:43, Nicolai

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-01-12 Thread Alexandre Bergel
No idea, but it would be great to improve the situation with the Cairo integration. Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > On Jan 11, 2015, at 6:43 PM, Nicolai Hess wrot

Re: [Pharo-dev] athens font rendering and subpixel antialiasing

2015-01-12 Thread Esteban Lorenzano
Weird… Both FT plugin and Athens use same library (even same instance)… but could be something on how cairo threats them what makes a difference, I suppose. Esteban > On 11 Jan 2015, at 18:43, Nicolai Hess wrote: > > Anyone knows, why the text rendering with athens (cairo) looks slightly > d

[Pharo-dev] athens font rendering and subpixel antialiasing

2015-01-11 Thread Nicolai Hess
Anyone knows, why the text rendering with athens (cairo) looks slightly different than the freetypeplugin one? attached is a screenshot, left side athen right side (morphic) freetypeplugin. It "looks" like the cairo freetype fontrendering uses CAIRO_ANTIALIAS_GRAY, no colored subpixel antialiasin