Quote:
Originally Posted by Hitch
How is it that you anticipate this working with font resizing, generally, if I may ask? Font resizing/scaling, and image resizing, are done in two completely different ways and have no interlocking dependencies or...any way to tie one to the other. ???
Hitch
|
Well, with respect to the formulas that are in their own paragraph, I made a script to render formulas in Latex and place them on a 5 inches wide page, with a 15pt font size. They are small images because they are math expresions.
Then, in the html and css files, play around with the width and the max-width so that the image fonts have the same (or similar) proportion of the font size in the paragraphs. The max-width is in EM, and the width is 100%, in such a way that the letters and numbers in the image may appear smaller than those of the paragraphs (if the screen is very small) but they will never appear larger than the font size in the paragraphs.
I didn't know if that would work, but that's what I was thinking of doing.