[webkit-qt] Using custom fonts with webkit
note173 note
note173 at gmail.com
Thu Feb 24 15:06:11 PST 2011
My program has a data of a few types of custom fonts, it contains list of
characters with their widths ({'a' : 10, 'b' : 10, 'c' : 9, ...} and some
information like font height, family, weight etc.
And there is a page loaded in QWebPage. There are many text items with
different fonts and text sizes.
I need webkit to use my font data for every font in page and calculate
layout correctly.
I don't need to draw a text, just the layout.
So how could it be done?
// writing something that works like opera mini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20110225/d72cbb76/attachment.html>
More information about the webkit-qt
mailing list