[Webkit-unassigned] [Bug 20606] a fractional value of the css letter-spacing property is not rendered as expected

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 6 15:18:40 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=20606





--- Comment #21 from Clement Wehrung <cwehrung at gmail.com>  2012-04-06 15:18:40 PST ---
A working solution for your css : multiply every value by 20 and use a div with a css transform scale of 1/20

I can give you an example if you want :

<div style="transform: scale(0.050000); transform-origin: 0 0;">
<p style="position:absolute;top:314.616pt;left:126.478pt;width:258.280pt;height:183.240pt"><span class="ft00"  style="letter-spacing:-4.800pt;word-spacing:4.800pt;">Works!</span>
</div>

When I'll have some time, I may try to begin working on it since it creates very complicated issues for french publishers who want to achieve perfectly justified text in ePub (iBooks has the same bug since rendering is based on this)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list