[luatex] pdf.getfontname()

Andreas Matthias andreas.matthias at gmail.com
Fri Mar 17 17:00:57 CET 2023


I am somewhat confused about the function

   pdf.getfontname()

It seems to me that this function gets one argument which is the font
number and
then returns exactly this number.

This is because a font with font number 36 gets the pdf resource name /F36.
And pdf.getfontname() returns just the number of /F36.

Is my understanding correct?
Is it at all possible that the argument and the return value of
pdf.getfontname() are
not the same?

Cheers
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/luatex/attachments/20230317/aa6d2bbf/attachment.html>


More information about the luatex mailing list.