Re: [GD-General] Scaling GUI graphics
Brought to you by:
vexxed72
From: Thatcher U. <tu...@tu...> - 2002-06-25 16:00:20
|
On Jun 25, 2002 at 10:04 -0500, brian hook wrote: > > What about using a vector format for the graphics as apposed to a > > bitmap format ? > > That's what I was thinking with the "render everything yourself" > option (i.e. use circle, line, spline, etc. primitives and render into > a bitmap yourself). This isn't that bad, I suppose, but it does seem > to be a bit of extra work. Note: you don't have to render into a bitmap -- you could render directly using OpenGL/D3D. Dunno if you're already assuming a 3D API though. > Is there a good open source library that can rasterize a TTF into a > bitmap? I know of SDL_ttf, but I'm not sure how good it is. FreeType (http://www.freetype.org) makes high quality output; it's what XFree86 uses these days. I bet it's what SDL_ttf uses, but I'm not sure. -- Thatcher Ulrich http://tulrich.com |