Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

[android][WEEX-187] weex custom font not rendered right when font is first downloaded #972

Closed

Conversation

gubaojian
Copy link
Member

[android][WEEX-187] weex custom font not rendered right when font is first downloaded

@weex-bot
Copy link

weex-bot commented Jan 8, 2018

Messages
📖 android test finished.

Generated by 🚫 dangerJS

@@ -83,7 +83,7 @@ public void onCreate(Bundle savedInstanceState) {
}

if (TextUtils.equals(sCurrentIp, DEFAULT_IP)) {
renderPage(WXFileUtils.loadAsset("index.js", this), getIndexUrl());
renderPage(WXFileUtils.loadAsset("vue/index.js", this), getIndexUrl());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this?

WXLogUtils.w("WXText", "Layout not created");
}
hostView.invalidate();
DOMActionContext domActionContext = WXSDKManager.getInstance().getWXDomManager().getDomContext(getInstanceId());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why relayout is needed?

@@ -136,6 +136,9 @@ public boolean handleMessage(Message msg) {

public static final int WX_DOM_TRANSITION_BATCH = 0xfb;


public static final int WX_DOM_START_BATCH = 0xfc;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where to handle this message type

@gubaojian gubaojian closed this Jan 9, 2018
@gubaojian gubaojian reopened this Jan 9, 2018
@asfgit asfgit closed this in 05ce0e4 Jan 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants