pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chitgoks <chitg...@gmail.com>
Subject Re: tips on pdf font size
Date Thu, 24 Aug 2017 02:25:27 GMT
hi chris

i also came across this. thank you for the help. this definitely did it.





On Thu, Aug 24, 2017 at 12:50 AM, Christopher Schultz <
chris@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> To whom it may concern,
>
> On 8/23/17 7:01 AM, chitgoks wrote:
> > hi.
> >
> > if anyone has ideas regarding font size in pdf and the font size in
> > html, would like to ask some inputs
> >
> > i created a free text annotation using coordinates taken from
> > javascript code and with html font size and a fixed font helvetica
> > but the result is not the same when generated in pdf.
> >
> > using the html font size value to the annotation created results in
> > the text size being too big.
> >
> > so it is not in pixel when it comes to pdf but point. and there are
> > various things to consider when converting the equivalent point
> > font size from the pixel font size.
> >
> > what is the most common factor to convert the html font size to pdf
> > font size in point?
>
> What is the "font size" in the HTML document? What units are being
> used there?
>
> http://www.endmemo.com/sconvert/pixelpoint.php
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJZnbI4AAoJEBzwKT+lPKRYj84P/3eFnoA5Jq26riTsdVaO4+tk
> SuEyRoX10YzWco7TIaavpRoZub/PgmLvm+iZQSUl7EDkSLFipBwZ2cpmrPBnqw7D
> gQ+ULZBydeWrt5k6rk4VdyHsCXG+m4oZcUHQ6UNn9UZerMHhDUIPKH2uYC+lfngM
> 6CaF3wwlzDRonporyTNPvyYatsemlpylwwaPiU8RCDR+6CPnecQ6TeauomiyvdhZ
> xpzhIMtt5H3NdbIF/0OzRDgw7C9BNfsTlEgJ7C4SXrqSLVc8p0p1Otzqu82NjqiR
> IhJAatAE9dIoyERvYvmExTc5j864xSo7GQdxEqoQBselEqUnNhR5eogxcag1QpCD
> KO6rgVqF0ClDAXtqgP9/l3B998rLCytKsh7YdHW5v1r+UnndOtbBSl+/dP8XD45V
> LERXjyGJVqGr5EOvlDv6uO72+nJsx1IqAdIMA+QHuZf+YxbDlCE4WtH5mB7KAtb/
> qz4dXtlVvZJJEzrkXmoulQyigsHMBkqgEEC+Fx4nQoXW51SePsPKcbugP6K59jWM
> PEEkyKP6pRfcqklbl7IA+XHQ9ws5P+AYkAw7hg2OwiUqez/1jgtvN7Ltc2R2eV1A
> fMLlC6ABaYnQxKli6prBEPZ4Q5av1Y7SDk52BAQscz/5d1Mj5aoR3Cv0teyTIxhI
> qxcQIkHcfPnRi8E1mcAJ
> =RqbX
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message