Re: [E-devel] Evas text problem

2011-08-17 Thread Tom Hacohen
On 17/08/11 02:27, Teodor Petrov wrote:
 Hello,

 I have this problem, too.


I wonder, do you guys use Word/Metric caching?

What evas configure flags do you guys use?

--
Tom.

--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Evas text problem

2011-08-17 Thread Mike Blumenkrantz
On Wed, 17 Aug 2011 17:45:13 +0300
Tom Hacohen tom.haco...@partner.samsung.com wrote:

 On 17/08/11 02:27, Teodor Petrov wrote:
  Hello,
 
  I have this problem, too.
 
 
 I wonder, do you guys use Word/Metric caching?
 
 What evas configure flags do you guys use?
 
 --
 Tom.
like any american hero, I use all of the options. for caching.

-- 
Mike Blumenkrantz
Zentific: Coding in binary since '10.

--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Evas text problem

2011-08-17 Thread Tom Hacohen
On 17/08/11 17:45, Tom Hacohen wrote:
 I wonder, do you guys use Word/Metric caching?

 What evas configure flags do you guys use?

After a couple more tests, it looks related to Metric/Word caching.

I'll take a look and hopefully fix it tomorrow.

--
Tom.

--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Evas text problem

2011-08-17 Thread Christopher Michael
On 08/17/2011 11:43 AM, Tom Hacohen wrote:
 On 17/08/11 17:45, Tom Hacohen wrote:
 I wonder, do you guys use Word/Metric caching?

 What evas configure flags do you guys use?

 After a couple more tests, it looks related to Metric/Word caching.

 I'll take a look and hopefully fix it tomorrow.

 --
 Tom.

That would be wonderful, thanks :)

dh



--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Evas text problem

2011-08-17 Thread Christopher Michael
On 08/17/2011 10:45 AM, Tom Hacohen wrote:
 On 17/08/11 02:27, Teodor Petrov wrote:
 Hello,

 I have this problem, too.


 I wonder, do you guys use Word/Metric caching?

 What evas configure flags do you guys use?

 --
 Tom.

Yes, word cache and metric cache enabled for evas here.

dh


--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Evas text problem

2011-08-16 Thread Tom Hacohen
On 16/08/11 01:21, David Seikel wrote:
 On Mon, 15 Aug 2011 16:56:38 -0400 Christopher Michael
 cpmicha...@comcast.net  wrote:

 Wanted to report an issue wrt evas text drawing (for Tom)...

 Apparently, evas does not like the letter 's' here ;) As per the
 attached screenshot, if you notice, every word that ends in 's' has
 the 's' only drawn half way... :(

 I'm not seeing that problem, but then I've not updated for a long
 time.  So might be something new introduced since my last update.

Nah, haven't touched those parts in a while. Last time I touched the 
text object was on the 1st of August and it was about font choosing 
(shouldn't be related) and the next relevant change was on the 12th of July.

--
Tom.

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Evas text problem

2011-08-16 Thread Tom Hacohen
On 15/08/11 23:56, Christopher Michael wrote:
 Hi All,

 Wanted to report an issue wrt evas text drawing (for Tom)...

 Apparently, evas does not like the letter 's' here ;) As per the
 attached screenshot, if you notice, every word that ends in 's' has the
 's' only drawn half way... :(

 If I can provide you with more info, just let me know what you need.

I don't get it here (obviously, otherwise I would have fixed it), and it 
might as well be a font issue. Mind sending me your font?

Thanks,
Tom.



--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Evas text problem

2011-08-16 Thread Tom Hacohen
On 16/08/11 09:54, Christopher Michael wrote:
 Well, it could possibly be something w/ fontconfig..not sure, but I've
 attached the font anyway (it's just bitstream vera).

I fixed (at least to my knowledge) font choosing two weeks ago.

Try printing fs-file at
evas/src/lib/engines/common/evas_font_load.c:210
at the start of evas_common_font_source_load_complete. This should give 
you the exact file name and path of the font files used.

Anyhow, I'll take a look with this font.

--
Tom.

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Evas text problem

2011-08-16 Thread Christopher Michael
On 08/16/2011 02:56 AM, Tom Hacohen wrote:
 On 16/08/11 01:21, David Seikel wrote:
 On Mon, 15 Aug 2011 16:56:38 -0400 Christopher Michael
 cpmicha...@comcast.net   wrote:

 Wanted to report an issue wrt evas text drawing (for Tom)...

 Apparently, evas does not like the letter 's' here ;) As per the
 attached screenshot, if you notice, every word that ends in 's' has
 the 's' only drawn half way... :(

 I'm not seeing that problem, but then I've not updated for a long
 time.  So might be something new introduced since my last update.

 Nah, haven't touched those parts in a while. Last time I touched the
 text object was on the 1st of August and it was about font choosing
 (shouldn't be related) and the next relevant change was on the 12th of July.

 --
 Tom.


I see. Well, it's either something in evas, or a change in fontconfig 
between versions because I also just tried several other fonts 
(bitstream vera, droid, and several others) and the issue Still happens 
but with the Droid font it did not happen (but that's because it's a 
small, tight font that fits).

I'll try modifying some fontconfig settings and see what happens there.

dh




--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Evas text problem

2011-08-16 Thread Tom Hacohen
On 16/08/11 09:54, Christopher Michael wrote:
 Well, it could possibly be something w/ fontconfig..not sure, but I've
 attached the font anyway (it's just bitstream vera).

I can't reproduce, even with this font.

--
Tom.

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Evas text problem

2011-08-16 Thread Christopher Michael
On 08/16/2011 03:17 AM, Tom Hacohen wrote:
 On 16/08/11 09:54, Christopher Michael wrote:
 Well, it could possibly be something w/ fontconfig..not sure, but I've
 attached the font anyway (it's just bitstream vera).

 I can't reproduce, even with this font.

 --
 Tom.

Ok, thanks for looking into it. It could be a fontconfig issue (or 
something w/ evas that is only getting triggered w/ this fontconfig 
version). I'll have to dig into it more when I have more available time.

Thanks,
dh


--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Evas text problem

2011-08-16 Thread Tom Hacohen
On 16/08/11 10:20, Christopher Michael wrote:
 Ok, thanks for looking into it. It could be a fontconfig issue (or
 something w/ evas that is only getting triggered w/ this fontconfig
 version). I'll have to dig into it more when I have more available time.

Fontconfig is really only about choosing fonts, it shouldn't affect 
rendering.

--
Tom.

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Evas text problem

2011-08-16 Thread The Rasterman
On Tue, 16 Aug 2011 03:24:56 -0400 Christopher Michael cpmicha...@comcast.net
said:

 On 08/16/2011 03:22 AM, Tom Hacohen wrote:
  On 16/08/11 10:20, Christopher Michael wrote:
  Ok, thanks for looking into it. It could be a fontconfig issue (or
  something w/ evas that is only getting triggered w/ this fontconfig
  version). I'll have to dig into it more when I have more available time.
 
  Fontconfig is really only about choosing fonts, it shouldn't affect
  rendering.
 
  --
  Tom.
 
 Hmmm, wonder what would be causing this then.

hinting and dpi can affect rendering.


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Evas text problem

2011-08-16 Thread Christopher Michael
On 08/16/2011 03:26 AM, Tom Hacohen wrote:
 On 16/08/11 10:20, Christopher Michael wrote:
 Ok, thanks for looking into it. It could be a fontconfig issue (or
 something w/ evas that is only getting triggered w/ this fontconfig
 version). I'll have to dig into it more when I have more available time.

 Would you mind running the attached test.edj with edje_player?

 The red rectangle should be the size of the text object, so it's very
 easy to see if something bad is going on wrt to sizing.

 Also, you can decompile it and try different fonts on your system.

 Please let me know if you are getting good/bad results.

 Also, what e theme are you using?

 --
 Tom.

Hmmm, yea that test.edj worked fine and everything looked alright. This 
is a very strange issue :/

I am using the default theme of course :)

dh


--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Evas text problem

2011-08-16 Thread The Rasterman
On Wed, 17 Aug 2011 02:27:30 +0300 Teodor Petrov fusca...@gmail.com said:

the problem is related to the fact that the string length/size calculation
thinks its 100 pixels wide, but when it actually renders the last char spills
over to 102 or 103 pixels. it didnt calculate this at initial string geometry
calc. the question is.. why? is there a bug in the geometry calc or render
code that means they use different geometry when calculation character
positions, or is the bounding box size given for the last char wrong? is it an
issue in kerning caches ans chosing the wrong cache entry the 2nd time around?
don't know - but it requires someone who reproduces the bug to sit down and
throw some printf's into the query code in evas and the draw code per string
and check the numbers patch per char etc. first. they very likely don't - then
figuring out what differs and then why.

 On 08/16/2011 10:26 AM, Tom Hacohen wrote:
  Would you mind running the attached test.edj with edje_player?
 
  The red rectangle should be the size of the text object, so it's very 
  easy to see if something bad is going on wrt to sizing.
 
  Also, you can decompile it and try different fonts on your system.
 
  Please let me know if you are getting good/bad results.
 
  Also, what e theme are you using?
 
 
 Hello,
 
 I have this problem, too.
 I'm running r62516 on gentoo linux ~amd64 (aka testing). XOrg 1.10.3. 
 Nvidia drivers 275.09.07.
 I have no compositing and there is a warning/error dialog at the start 
 of E17 about it.
 
 I've tried the test.edj and it worked correctly.
 Except for some warnings:
 ERR27155:edje edje_amalgamation.c:37695 
 edje_object_size_min_restricted_calc() file /tmp/test.edj, group main 
 has a non-fixed part '_tb1'. Adding 'fixed: 1 1;' to source EDC may 
 help. Continuing discarding faulty part.
 
 I'm seeing another font issue. It happens when I type 3 characters in 
 the everything's search entry box.
 The third character is rendered incorrectly. There is some kind of 
 tearing or double rendering.
 Probably this problem is not related to the other.
 
 Best regards,
 Teodor
 
 --
 Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
 user administration capabilities and model configuration. Take 
 the hassle out of deploying and managing Subversion and the 
 tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Evas text problem

2011-08-16 Thread Christopher Michael
On 08/17/2011 01:14 AM, Carsten Haitzler (The Rasterman) wrote:
 On Wed, 17 Aug 2011 02:27:30 +0300 Teodor Petrovfusca...@gmail.com  said:

 the problem is related to the fact that the string length/size calculation
 thinks its 100 pixels wide, but when it actually renders the last char 
 spills
 over to 102 or 103 pixels. it didnt calculate this at initial string geometry
 calc. the question is.. why? is there a bug in the geometry calc or render
 code that means they use different geometry when calculation character
 positions, or is the bounding box size given for the last char wrong? is it an
 issue in kerning caches ans chosing the wrong cache entry the 2nd time around?
 don't know - but it requires someone who reproduces the bug to sit down and
 throw some printf's into the query code in evas and the draw code per string
 and check the numbers patch per char etc. first. they very likely don't - then
 figuring out what differs and then why.

Thanks for the insight mate ;) I'll do some printf-ing and such @ a 
latter date when I have less things todo. Heading to sleep now as it's 
late here, but hopefully someday soon I can get some time for this as 
it's quite annoying and apparently I am not the only one getting it, but 
I can reproduce it here always.

Cheers,
dh

 On 08/16/2011 10:26 AM, Tom Hacohen wrote:
 Would you mind running the attached test.edj with edje_player?

 The red rectangle should be the size of the text object, so it's very
 easy to see if something bad is going on wrt to sizing.

 Also, you can decompile it and try different fonts on your system.

 Please let me know if you are getting good/bad results.

 Also, what e theme are you using?


 Hello,

 I have this problem, too.
 I'm running r62516 on gentoo linux ~amd64 (aka testing). XOrg 1.10.3.
 Nvidia drivers 275.09.07.
 I have no compositing and there is a warning/error dialog at the start
 of E17 about it.

 I've tried the test.edj and it worked correctly.
 Except for some warnings:
 ERR27155:edje edje_amalgamation.c:37695
 edje_object_size_min_restricted_calc() file /tmp/test.edj, group main
 has a non-fixed part '_tb1'. Adding 'fixed: 1 1;' to source EDC may
 help. Continuing discarding faulty part.

 I'm seeing another font issue. It happens when I type 3 characters in
 the everything's search entry box.
 The third character is rendered incorrectly. There is some kind of
 tearing or double rendering.
 Probably this problem is not related to the other.

 Best regards,
 Teodor




--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Evas text problem

2011-08-15 Thread David Seikel
On Mon, 15 Aug 2011 16:56:38 -0400 Christopher Michael
cpmicha...@comcast.net wrote:

 Wanted to report an issue wrt evas text drawing (for Tom)...
 
 Apparently, evas does not like the letter 's' here ;) As per the 
 attached screenshot, if you notice, every word that ends in 's' has
 the 's' only drawn half way... :(

I'm not seeing that problem, but then I've not updated for a long
time.  So might be something new introduced since my last update.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel