Method GetOrCreateFrom
GetOrCreateFrom(byte[])
Gets an existing font source or creates a new one. A new font source is cached in font factory.
public static XFontSource GetOrCreateFrom(byte[] bytes)
Parameters
bytesbyte[]
Returns
GetOrCreateFrom(OpenTypeFontSource)
public static XFontSource GetOrCreateFrom(OpenTypeFontSource otFontSource)
Parameters
otFontSourceOpenTypeFontSource