On 10/10/2012 08:07 AM, Enlightenment SVN wrote:
> Log:
> fix font rounding in evas to round and not floor - fixes some rare
>    font sizing issues.
>
> Modified: trunk/evas/src/lib/engines/common/evas_font_load.c
> ===================================================================
> --- trunk/evas/src/lib/engines/common/evas_font_load.c        2012-10-10 
> 06:03:42 UTC (rev 77687)
> +++ trunk/evas/src/lib/engines/common/evas_font_load.c        2012-10-10 
> 06:07:38 UTC (rev 77688)
> @@ -455,13 +455,13 @@
>      if (fi->src->ft.face->units_per_EM != 0)
>        {
>           dv = (fi->src->ft.orig_upem * 2048) / 
> fi->src->ft.face->units_per_EM;
> -        ret = (val * fi->src->ft.face->size->metrics.y_scale) / (dv * dv);
> +        ret = FONT_MERTIC_CONV(val, dv, 
> fi->src->ft.face->size->metrics.y_scale);

MERTIC?

S.


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to