Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question | Tutorial? #21

Open
Jamesx0YT opened this issue Jun 16, 2023 · 7 comments
Open

Question | Tutorial? #21

Jamesx0YT opened this issue Jun 16, 2023 · 7 comments

Comments

@Jamesx0YT
Copy link

Good Day, sorry to bother you but this new tool is already integrated with the text, do I have to activate it in some way or do I have to put all its source code in my source code?

@ShaharMS
Copy link
Owner

No need to copy anything, you just use the given classes (under the texter package) either by instantiation:

var field = new DynamicTextField();

Or, by using the static fields:

var bidified = Bidi.process("left to right text, טקסט מימין לשמאל");

Sorry for late reply, GitHub chose to notify me about your question just now😅

@Jamesx0YT
Copy link
Author

  bidified = Bidi.process(\"left to right text, טקסט מימין לשמאל\");

is this a command? טקסט מימין לשמאל\
I mean, do I have to put that command for the Emojis?
and last question
It can be put but without addChild is that I get an error when executing that command with the texter of the latest version?

@ShaharMS
Copy link
Owner

idk how you got these \ characters, maybe github proccessed it that way. That isnt a command, just an example string.

@Jamesx0YT
Copy link
Author

Jamesx0YT commented Jun 21, 2023

Digo q con este comando var field = new DynamicTextField(); puedo poner emojis o no? 🤨 xd

@Wither362
Copy link
Contributor

Digo q con este comando var field = new DynamicTextField(); puedo poner emojis o no? 🤨 xd

Sip, sí que podrías (solamente si la fuente admite emojis)

@Jamesx0YT
Copy link
Author

A ok 👍 ..... funcionará con el siguiente código?`

var rating = new DynamicTextField();
rating = "🤙"
rating.defaultTextFormat = MarkdownVisualizer.markdownTextFormat;

@Wither362
Copy link
Contributor

A ok 👍 ..... funcionará con el siguiente código?`

var rating = new DynamicTextField();
rating = "🤙"
rating.defaultTextFormat = MarkdownVisualizer.markdownTextFormat;

Creo que sí, pero igualmente prueba a ver.

Lo siento por la respuesta tarde, no tenía tiempo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants