[Mono-bugs] [Bug 395160] Glyph map - loading glyphs is super slow.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 4 13:22:45 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=395160

User spouliot at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395160#c2


Sebastien Pouliot <spouliot at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |spouliot at novell.com




--- Comment #2 from Sebastien Pouliot <spouliot at novell.com>  2008-06-04 11:22:45 MDT ---
it's hard to be sure what the gain could be but...

Using the Cairo public API force us to convert all glyphs from the FreeType
26/6 format into double (i.e. a FP division each time). Then Cairo itself
converts all the double into 24/8 (again more FP).

If we use the Cairo API for glyphs then it will automagically convert the 26/6
into 24/8 using integer math (i.e. only shifts). 

There should be a big gain >there< - but it's less than clear if the end result
will be visually faster (since cairo may be doing extra stuff not needed for
SL).


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list