[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mid-term
From: |
Patrick Noffke |
Subject: |
Re: Mid-term |
Date: |
Wed, 31 Jul 2013 12:32:39 -0500 |
On Wed, Jul 31, 2013 at 12:03 PM, Michael Goffioul
<address@hidden> wrote:
> On Wed, Jul 31, 2013 at 12:55 PM, Andrej Lojdl <address@hidden>
> wrote:
>>>
>>>
>>> - Fix the build problem I just emailed you about.
>>> - Figure out how to get the correct size image. I don't know if
>>> OpenGL will resample the image if you use a smaller bounding box, but
>>> it is worth trying unless you already know the answer. Otherwise, we
>>> will need to resample with another means, like gs or maybe dvipng.
>
>
> I wouldn't rely on OpenGL for that. That would be OK if rasterized text was
> sent to OpenGL as textured quad, because OpenGL is then able to resample a
> texture image, but there are other limitations to the use of textures [1].
> So a raw "dump pixels" command is used instead and this does not do
> automatic resample.
>
> Michael
>
> [1] texture size is limited and hardware dependent; some hardware also only
> allow texture width and height that are power of 2
>
Okay, then I'd suggest revisiting how the textogif script works that
Ben Abbott pointed out. IIRC, it was the -res option that did
oversampling then downsampling to facilitate anti-aliasing. Not sure
how if it handles alpha-blending though.
Patrick
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Mid-term,
Patrick Noffke <=