3

I would like to ask if with Boost Gil alone I can render text into an image using a custom ttf/otf font, my impression is that there is no such thing in Boost Gil, and so I should adopt something like freetype, but since I don't like to add yet another dependency if I can possibly avoid it.

user2485710
  • 9,451
  • 13
  • 58
  • 102

1 Answers1

3

There's a Freetype GIL extension by Tom Brinkman here:

(I think it's probably in toolbox/freegil.h). I found anouncements on the boost mailing list around here.

mloskot
  • 37,086
  • 11
  • 109
  • 136
sehe
  • 374,641
  • 47
  • 450
  • 633
  • I'm not familiar with `svn` but if I checkout this I can't see the same file that I can see through the web interface, I need to checkout some sub-module or sub-project like with `git` ? I see `freegil.hpp` online but I can't locate it inside my copy of the repository . – user2485710 Jun 02 '14 at 10:45
  • 1
    @user2485710 I have just updated the broken links in the the answer. – mloskot Jan 19 '19 at 12:36