Beispiel #1
0
 public bool TryGetGlyph(uint unicode, uint variationSelector, out uint glyph)
 {
     fixed(uint *g = &glyph)
     {
         return(HarfBuzzApi.hb_font_get_glyph(Handle, unicode, variationSelector, g));
     }
 }
Beispiel #2
0
        public uint GetGlyph(uint unicode, uint variationSelector)
        {
            if (HarfBuzzApi.hb_font_get_glyph(Handle, unicode, variationSelector, out var glyph))
            {
                return(glyph);
            }

            return(0);
        }
Beispiel #3
0
 public bool TryGetGlyph(uint unicode, uint variationSelector, out uint glyph) =>
 HarfBuzzApi.hb_font_get_glyph(Handle, unicode, variationSelector, out glyph);