|Summary:||[OpenVG] Add support for drawing text to PainterOpenVG|
|Product:||WebKit||Reporter:||Jakob Petsovits <jpetsovits>|
|Version:||528+ (Nightly build)|
|Bug Depends on:|
Description Jakob Petsovits 2010-03-02 08:18:25 PST
Make PainterOpenVG draw text, given a VGFont. This does not include any font management, as the OpenVG graphics backend has no idea where to get its VGFonts from (that's the task of the overall platform, rather than the graphics backend). Includes a bit of code that aligns the given point to device pixels, as that makes fonts look vastly better (for zooms/transformations other than the identity matrix).
Comment 2 Dirk Schulze 2010-03-09 11:48:50 PST
Comment on attachment 49806 [details] Patch A simple style issue: 1034 p = FloatPoint(0, 0); Please use just FloatPoint() here. r=me with the fix above.