opentype.js
opentype.js copied to clipboard
Points not pixels
Shouldn't we note in the Readme that the fontSize
is points and not pixels?
That probably makes more sense.
Internally the scaling is calculated as v / font.unitsPerEM * fontSize.
On 2 Nov 2016, at 19:00, niftylettuce [email protected] wrote:
Shouldn't we note in the Readme that the fontSize is points and not pixels?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
It looks like pixels to me.
Is it pixels or points, please can someone clarify?
in what context?
On Mon, Aug 7, 2023, 1:10 PM John Doherty @.***> wrote:
Is it pixels or points, please can someone clarify?
— Reply to this email directly, view it on GitHub https://github.com/opentypejs/opentype.js/issues/238#issuecomment-1668687188, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACB45W2DAUEJ46L5JZAHU3XUFYVRANCNFSM4CU6HUCA . You are receiving this because you are subscribed to this thread.Message ID: @.***>