You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by jo...@apache.org on 2019/06/14 16:11:26 UTC
[royale-compiler] branch develop updated: Added missing
unicodeRange attribute for [Embed] metadata
This is an automated email from the ASF dual-hosted git repository.
joshtynjala pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
The following commit(s) were added to refs/heads/develop by this push:
new 13a701b Added missing unicodeRange attribute for [Embed] metadata
13a701b is described below
commit 13a701bd22ccf2df2e52bb671c53624d505cc75f
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Fri Jun 14 09:11:17 2019 -0700
Added missing unicodeRange attribute for [Embed] metadata
---
.../main/java/org/apache/royale/compiler/embedding/EmbedAttribute.java | 1 +
.../java/org/apache/royale/compiler/internal/embedding/EmbedData.java | 1 +
2 files changed, 2 insertions(+)
diff --git a/compiler-common/src/main/java/org/apache/royale/compiler/embedding/EmbedAttribute.java b/compiler-common/src/main/java/org/apache/royale/compiler/embedding/EmbedAttribute.java
index a1563fa..87f623e 100644
--- a/compiler-common/src/main/java/org/apache/royale/compiler/embedding/EmbedAttribute.java
+++ b/compiler-common/src/main/java/org/apache/royale/compiler/embedding/EmbedAttribute.java
@@ -44,6 +44,7 @@ public enum EmbedAttribute
// report one problem that font embeddeding is not supported.
ADV_ANTI_ALIASING("advancedAntiAliasing"),
EMBED_AS_CFF("embedAsCFF"),
+ UNICODE_RANGE("unicodeRange"),
FONT_FAMILY("fontFamily"),
FONT_NAME("fontName"),
FONT_STYLE("fontStyle"),
diff --git a/compiler/src/main/java/org/apache/royale/compiler/internal/embedding/EmbedData.java b/compiler/src/main/java/org/apache/royale/compiler/internal/embedding/EmbedData.java
index 4acefe2..544133c 100644
--- a/compiler/src/main/java/org/apache/royale/compiler/internal/embedding/EmbedData.java
+++ b/compiler/src/main/java/org/apache/royale/compiler/internal/embedding/EmbedData.java
@@ -348,6 +348,7 @@ public class EmbedData implements IEmbedData
}
else if (EmbedAttribute.ADV_ANTI_ALIASING.equals(key) ||
EmbedAttribute.EMBED_AS_CFF.equals(key) ||
+ EmbedAttribute.UNICODE_RANGE.equals(key) ||
EmbedAttribute.FONT_FAMILY.equals(key) ||
EmbedAttribute.FONT_NAME.equals(key) ||
EmbedAttribute.FONT_STYLE.equals(key) ||