OpenFontLoader.cs 351 B

12345678910111213141516
  1. using FontStashSharp.Interfaces;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. using Typography.OpenFont;
  6. namespace Veldrid.FontStashSharp.Typography
  7. {
  8. internal class OpenFontLoader : IFontLoader
  9. {
  10. public IFontSource Load(Typeface data)
  11. {
  12. return new OpenFontSource(data);
  13. }
  14. }
  15. }