[HarfBuzz] Simplish example using HarfBuzz with Qt
Jiang Jiang
gzjjgod at gmail.com
Sun Oct 7 01:24:54 PDT 2012
Hi Khaled,
On Sun, Oct 7, 2012 at 9:31 AM, Khaled Hosny <khaledhosny at eglug.org> wrote:
> Hi all,
>
> A while ago I wrote a very simple example of using HarfBuzz to draw text
> on a Qt canvas (QPainter) while helping a friend. I don’t know much of
> Qt and it does not do much, but I thought it might help someone, so I’ve
> put it on GitHub:
> https://github.com/khaledhosny/QtHarfBuzzExample
Looks fine to me besides that most variables should rather be
initialized out of the paintEvent(). For simple demo code it's ok.
- Jiang
More information about the HarfBuzz
mailing list