[cairo-bugs] [Bug 5496] New: Add getters for cairo_scaled_font_t

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 3 23:15:32 PST 2006


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=5496          
     
           Summary: Add getters for cairo_scaled_font_t
           Product: cairo
           Version: 1.1.1
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: freedesktop at behdad.org
         QAContact: cairo-bugs at cairographics.org


Currently the only use of cairo_scaled_font_t is cairo_scaled_font_extents and
cairo_scaled_font_glyph_extents.  It would be more useful if there were the
following functions:

  cairo_scaled_font_get_font_face
  cairo_scaled_font_get_font_matrix
  cairo_scaled_font_get_ctm
  cairo_scaled_font_get_font_options

The idea is that a cairo_scaled_font has all needed information for setting up a
font on a cairo context.  By having getters, you can install a font matching a
cairo_scaled_font.  Another option is to actually provide a:

  cairo_set_scaled_font

That sets font_face, font_matrix, and font_options (and ctm?!).  Sorry if these
are already discussed...          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list