diff --git a/doric-android/doric/src/main/java/pub/doric/shader/TextNode.java b/doric-android/doric/src/main/java/pub/doric/shader/TextNode.java index d78b669e..4f008cf3 100644 --- a/doric-android/doric/src/main/java/pub/doric/shader/TextNode.java +++ b/doric-android/doric/src/main/java/pub/doric/shader/TextNode.java @@ -268,9 +268,6 @@ public class TextNode extends ViewNode { String filePath; filePath = getContext().getCacheDir().getPath() + File.separator + "DoricTextFonts"; String fileName = URLEncoder.encode(type + "_" + identifier, "UTF-8"); - if (TextUtils.isEmpty(fileName)) { - fileName = (identifier == null) ? "tempFont.ttf" : identifier; - } File file = createFile(fontData, filePath, fileName); if (file == null) { DoricLog.e("Error Font file load resource %s", resource.toString());