support emoji characters font?

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for COM/ActiveX (v8)  /  Re: support emoji characters font?

DynamicPDF CoreSuite for COM/ActiveX (v8) Forum

 Jan 13 2017 4:48 AM
Hello

I have a problem adding emoji characters.


<% @Language="VBScript" CODEPAGE="65001" %>
<!-- METADATA TYPE="typelib" UUID="{DF9225FE-94A4-490D-8CAD-E8366CE621D3}"-->
<%
Response.expires = -1
Response.charset = "utf-8"

Dim MyDocument, MyPage
Dim MyStrText
' Create Document object and set properties
Set MyDocument = Server.CreateObject( "DynamicPDF.Document" )
OpenSansEmoji = MyDocument.AddFont( "D:\font\OpenSansEmoji.ttf", true, true )
EmojiSymbolsRegular = MyDocument.AddFont( "D:\font\EmojiSymbols-Regular.ttf", true, true )
Symbola = MyDocument.AddFont( "D:\font\Symbola.ttf", true, true )

'MyDocument.Creator = "HelloWorld.asp"
'MyDocument.Author = "ceTe Software"
'MyDocument.Title = "Hello World"
' Add a page to the document
Set MyPage = MyDocument.AddPage()
' Add a textarea to the page
MyStrText = "😳😄❤👍" & vbCrLf & "emoji font test"

Dim MyLabel
Set MyLabel = MyPage.AddLabel(MyStrText, 0, 0, 504, 54)
MyLabel.Align = DPDF_TextAlign_Center
'MyLabel.Font = DPDF_Font_Helvetica
'MyLabel.Font = OpenSansEmoji
MyLabel.Font = EmojiSymbolsRegular
'MyLabel.Font = Symbola
'MyLabel.Font = DPDF_Font_Symbol



MyLabel.FontSize = 18
' Output the Document to the Browser
MyDocument.DrawToWeb
' Object cleanup
Set MyPage = Nothing
Set MyDocument = Nothing

%>


Thanks.
 Jan 13 2017 12:06 PM
Posted by a ceTe Software moderator
Hello,

Can you please send over the following details to support@cete.com so we can look into it further?

1.Exact version and build number of the DynamicPDF for COM/ActiveX product.
2.Output PDF.
3.Font files used.

Thanks.
ceTe Software Support Team.
 Jan 20 2017 4:33 AM
Posted by a ceTe Software moderator
Hello,

Thanks for sending all the details to support@cete.com. We looked into the font file and the PDF document you sent. The symbols which you are trying to add to the PDF uses glyph data from the GSUB tables of the font (Advanced OTF table) and currently the DynamicPDF API does not supports GSUB and GPOS tables.

We have already added this feature to our feature request list for consideration for a future version. We will post an update once the new version with this feature is available for download.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 6:27 AM.