Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
Fixed glyph substitution names as produced by Google Extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchTalmadge committed Mar 26, 2016
1 parent a730902 commit bc6b4aa
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,12 @@ protected Boolean doWork() throws Exception {
if (glyphSubList != null) {
for (Ligature ligature : glyphSubList) {
if (ligature.getLigatureGlyphName().equals(name)) {
String fileName = cmap.get(ligature.getSetGlyphName());
String fileName = "uni" + cmap.get(ligature.getSetGlyphName());
for (String component : ligature.getComponents()) {
fileName += "_" + cmap.get(component);
fileName += "_" + "uni" + cmap.get(component);
}

File outputFile = new File(extractionDirectory, "uni" + fileName + ".png");
File outputFile = new File(extractionDirectory, fileName + ".png");

appendMessageToDialog("Extracting Emoji: " + outputFile.getName());
updateProgress(i, cbdtBitmapFormat17ElementList.getLength());
Expand Down

0 comments on commit bc6b4aa

Please sign in to comment.