Formula to convert pointsize to fontsize

212 views
Skip to first unread message

Kehinde Adeoya

unread,
Jan 11, 2022, 7:47:42 AM1/11/22
to tesseract-ocr
I want to get the font size of text on an image. I can return the pointsize, so my question is, how do I convert the point size to fontsize? As an example, if the point size is 84, how do i convert it to font size in pixels?
When I typed this into google "pointsize convert to fontsize" it retuned the unit converter calculator, though it seems close but  not accurate. I don't know what to do. Please help.

Zdenko Podobny

unread,
Jan 13, 2022, 1:36:57 PM1/13/22
to tesser...@googlegroups.com

ut 11. 1. 2022 o 13:47 Kehinde Adeoya <kehind...@gmail.com> napísal(a):
I want to get the font size of text on an image. I can return the pointsize, so my question is, how do I convert the point size to fontsize? As an example, if the point size is 84, how do i convert it to font size in pixels?
When I typed this into google "pointsize convert to fontsize" it retuned the unit converter calculator, though it seems close but  not accurate. I don't know what to do. Please help.

--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/fa901634-c380-4296-abf4-710d7e2ba681n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages