Hi guys,

I'm facing a bad edje bug wrt font rendering:
edje seems to ignore the font face for the second text part that use the
same font but with a different size.

I can reproduce the error with all the TTF font I have (not with OTF fonts).


Super simple test case (edje_cc main.edc && edje_player main.edj):

The font can be downloaded from http://it.fonts2u.com/cinema-regular.font ,
but every TTF seems affected.
Note the different size of the 2 fonts, if you change both to the same size
the error disappear

fonts {
   font: "CinemaRegular.ttf" "FontName";
}

collections {
   group { name: "main";
      parts {

         part { name: "bg"; type: RECT;
            description { state: "default" 0.0;
               color: 30 30 30 255;
            }
         }

         part { name: "test1"; type: TEXT;
            description { state: "default" 0.0;
               rel2.relative: 1.0 0.5;
               text {
                  font: "FontName";
                  size: 20;
                  text: "Correct font";
               }
            }
         }

         part { name: "test2"; type: TEXT;
            description { state: "default" 0.0;
               rel1.relative: 0.0 0.5;
               text {
                  font: "FontName";
                  size: 21;
                  text: "Wrong font";
               }
            }
         }

      }
   }
}
------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to