Skip to content

How to Craft a Shape Matching this Description #1898

Closed Answered by wcandillon
RafaelCENG asked this question in Q&A
Discussion options

You must be logged in to vote

this might be indicative of a small regression our side, in the meantime you can fix it by doing:

{font && (  <Text
        x={TextX1}
        y={TextY1}
        text="Lower Than TT"
        color={"blue"}
        font={font}
  />)}

does it work if you check if font is null (it will be null until the font is loaded).
You may want to look into the fontMgr too: https://shopify.github.io/react-native-skia/docs/text/fonts#custom-fonts

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@RafaelCENG
Comment options

@RafaelCENG
Comment options

@wcandillon
Comment options

Answer selected by RafaelCENG
@RafaelCENG
Comment options

@RafaelCENG
Comment options

@wcandillon
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants