[webkit-help] Setting font as point size vs. pixel size
Emerick Rogul
emerick at gmail.com
Wed Oct 6 17:26:18 PDT 2010
I'm trying to change the font size for a region of text to 18pt. I
called editor->executeCommand("FontSize", "18"), but the font seems much
smaller than 18 points. I'm guessing that it's using pixels rather than
points. Is there any way to tell WebKit to use points rather than
pixels when setting the font size in a contentEditable region?
This is with the Chromium port of WebKit running on Windows, although
I'd welcome even answers that are specific to other ports, since it may
nudge me in the right direction.
Thanks,
Emerick
More information about the webkit-help
mailing list