Hi,
dfactset:1) Even though the google noto fonts are otf, calling FontRepository.OpenFont(otfStream, FontTypes.OTF) throws an exception. Using FontTypes.TTF seems to be a workaround.
That is the correct font name. If you look at the font returned by the OpenFont functions you can see that they are correct. It looks like on my machine those calls were working because I installed those two fonts with windows, so that can be the workaround to get it reproducing. Shouldn’t it be possible to call FontRepository.OpenFont and then call FontRepository.FindFont to open up the same font again later? Is there some other way to open up the font without having to register it with windows and call OpenFont each time?
Hi Daniel,
FolderFontSource fs = <span class=“kwrd” style=“color: rgb(0, 0, 255); font-family: “Courier New”, Consolas, Courier, monospace; font-size: small; white-space: pre;”>new<span style=“font-family: “Courier New”, Consolas, Courier, monospace; font-size: small; white-space: pre; background-color: rgb(255, 255, 255);”> FolderFontSource(fontFolderPath);<span style=“font-family: “Courier New”, Consolas, Courier, monospace; font-size: small; white-space: pre; background-color: rgb(255, 255, 255);”>
FontRepository.Sources.Add(fs);<span style=“font-family: “Courier New”, Consolas, Courier, monospace; font-size: small; white-space: pre; background-color: rgb(255, 255, 255);”>
FontRepository.FindFont(@“Noto Sans CJK JP Bold”);
dfactset:2) There are rendering issues with the light font that are similar to an earlier post I’ve made here. There are characters that overlap on top of each other in the second line of text. Also, the embedded subset font causes an error to be generated: "When opening up the pdf, the font ‘RWKTIP+NotoSansCJKJPLight’ contains bad /Widths."
dfactset:3) I’ve created a line object that disappears when doc.FontUtilities.SubsetFonts(Document.FontSubsetStrategy.SubsetEmbeddedFontsOnly); is called. If I comment out the SubsetFonts call, the line object correctly renders.
We are sorry for the delay. We managed to replicate the problem of disappeared horizontal line in the footer. It has been logged under the ticket ID PDFNET-43111 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates.
Best Regards,
Imran Rafique
The issues you have found earlier (filed as PDFNET-42862) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by asad.ali
Hi,
We were wondering are there any updates on PDFNET-42874 and PDFNET-43111?
Thanks
Thanks for your inquiry.
We regret to share that these issues are not yet resolved due to high number of pending issues in the queue. However, we have recorded your concerns and escalated the issues to next level of priority. As soon as some definite update are available, we will surely inform you. Please spare us little time.
We are sorry for the inconvenience.
Any updates?
Regretfully, the tickets could not get resolved yet. Your concerns have already been recorded and we will surely notify you once we make some progress towards tickets resolution. Your patience is highly appreciated in this regard.
We apologize for the inconvenience and the delay.