Hello,

On Tue, 14 Jul 2009, Anthony DeRobertis wrote:
> Bitmap graphics have a native size in pixels, and there isn't any number
> of points that correspond (in general, not on one particular display).
> Specifying size in points for a bitmap graphic doesn't seem to useful
> (as scaling usually looks bad, and will often make the figures blury
> and/or jagged)

You are right about this. However, we cannot do too much about it
for the reasons outlined below.

TeX4HT provides dimensions in print measures like "pt" (most such
measures are put in the .css files it produces; the IMG tag is
currently an exception). It does this since TeX does not know about
pixels, it only knows about print measures.

I think that this generally works out more-or-less OK because
1pt=1px is still not too far off (or perhaps browsers compensate).

At this point in time there is no general configuration option for
tex4ht (similar to the dpi option for dvips) which would allow one
to convert the print measures into pixel. Even if there were, the
conversion (for PNG files) from pixels to print measures and back to
pixels would create some overflow differences.

There is probably a better way since pdfTeX manages to work with
pixels but it would need a significant re-write of tex4ht.

Regards,

Kapil.
--

Attachment: signature.asc
Description: Digital signature

Reply via email to