Skip to content

Commit

Permalink
Use script language DFLT to make Twemoji font work (see #42)
Browse files Browse the repository at this point in the history
  • Loading branch information
samhocevar committed Jun 3, 2021
1 parent 1a2f897 commit c2afaa9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Emoji.Wpf/Internal/OpenTypeFont.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public ColorTypeface(string name)
EnableGsub = true,
EnableLigature = true,
PositionTechnique = PositionTechnique.OpenFont,
ScriptLang = new ScriptLang("DFLT"),
};

// Cache the glyph index for the zero-width joiner
Expand Down

0 comments on commit c2afaa9

Please sign in to comment.