<div dir="ltr"><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small">I am somewhat confused about the function <br></div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small">   pdf.getfontname()</div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small">It seems to me that this function gets one argument which is the font number and</div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small">then returns exactly this number.</div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small">This is because a font with font number 36 gets the pdf resource name /F36.</div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small">And pdf.getfontname() returns just the number of /F36.</div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small">Is my understanding correct?</div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small">Is it at all possible that the argument and the return value of pdf.getfontname() are</div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small">not the same?<br></div><div><br></div><div><div style="font-family:arial,sans-serif;font-size:small" class="gmail_default">Cheers</div><div style="font-family:arial,sans-serif;font-size:small" class="gmail_default">Andreas</div><div style="font-family:arial,sans-serif;font-size:small" class="gmail_default"></div><br></div></div>