opentype.js icon indicating copy to clipboard operation
opentype.js copied to clipboard

Points not pixels

Open niftylettuce opened this issue 7 years ago • 4 comments

Shouldn't we note in the Readme that the fontSize is points and not pixels?

niftylettuce avatar Nov 02 '16 18:11 niftylettuce

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.

fdb avatar Nov 04 '16 18:11 fdb

It looks like pixels to me.

axkibe avatar Feb 17 '17 14:02 axkibe

Is it pixels or points, please can someone clarify?

john-doherty avatar Aug 07 '23 23:08 john-doherty

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: @.***>

ILOVEPIE avatar Aug 07 '23 23:08 ILOVEPIE