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 9afc9f93c FontEmbeddingNotSupported: restore this class, even though
it is not used in the compiler anymore, because it is referenced by the as3mxml
language server
9afc9f93c is described below
commit 9afc9f93c9f6d158ac85750a5c842b5fbc7c88d3
Author: Josh Tynjala <[email protected]>
AuthorDate: Thu Jan 8 14:01:58 2026 -0800
FontEmbeddingNotSupported: restore this class, even though it is not used
in the compiler anymore, because it is referenced by the as3mxml language server
---
.../problems/FontEmbeddingNotSupported.java | 43 ++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git
a/compiler/src/main/java/org/apache/royale/compiler/problems/FontEmbeddingNotSupported.java
b/compiler/src/main/java/org/apache/royale/compiler/problems/FontEmbeddingNotSupported.java
new file mode 100644
index 000000000..e4fd53f93
--- /dev/null
+++
b/compiler/src/main/java/org/apache/royale/compiler/problems/FontEmbeddingNotSupported.java
@@ -0,0 +1,43 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package org.apache.royale.compiler.problems;
+
+import org.apache.royale.compiler.common.ISourceLocation;
+
+/**
+ * Problem created when a user tries to embed a font, but font embedding is
+ * disabled.
+ */
+public class FontEmbeddingNotSupported extends CompilerProblem
+{
+ public static final String DESCRIPTION =
+ "The direct embedding of fonts is not supported. Use the ${FONTSWF}
utility and embed the resulting ${SWF}.";
+
+ public static final int errorCode = 5034;
+
+ public FontEmbeddingNotSupported(ISourceLocation site)
+ {
+ super(site);
+ }
+
+ // Prevent these from being localized.
+ public final String FONTSWF = "fontswf";
+ public final String SWF = "SWF";
+}