Changing font in drawString
I dont know how to chcange font so when i drawString it will draw it in changed font
50 Replies
⌛
This post has been reserved for your question.
Hey @Echo Development! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
You're supposed to change the font in the GraphicsContext
could you tell me how to do that
???
Have you started with trying anything?
no because i dont know what to do
So you've been talking about drawString().
Where do you do drawString(), how do you do it?
i want to use drawString() with font i chosen (and thats what i cant do) for my game client
I don't care about what you want to do, I asked about what you actually do
wdym what i actually do? i dont understand
Like, riding a dragon. You probably want to. But you don't actually do
drawString(). You say you want to use it so that it does some things. You also said that you use it already, but I imagine it doesn't do the things you wanted.
So, the way you use it already, it's how?
ok wait
using fontrenderer
That was very thorough and informative
Do you want help or not?
yes i want
yes i do*
Then when you're asked questions you're going to answer them
ok
I asked how do you use drawString(). Full and complete response. Now
ok
(I dont understand what do you mean but ok...)
if youre taling about how i use it here is how:
i use FontRenderer fr = mc.fontRendererObj; then .drawString("(here name)", coordinate x, coordinate y, color)
i already used it and now i want to use this again but with difrent font
if this is not that you meant tell me what is it
Have you written any line of the program you're talking about?
yes
i can showq you
Can you tell about that program, what it does, some lines?
ok first this strings i told you about draws number of fps you have or your coordinates
and also my client name
and now i want to use difrent font only for visuals
"fps" you have, like, in your desktop?
no in game
in game? Your program measures the fps of a game that runs in parallel?
yes
........ Dude
?
The point was to get you to admit you're not making a program, you're trying to make a Minecraft plugin.
Which you were supposed to say from the beginning
what?
what what
so i cant do that?
and everything i want is to how use difrent font
What you can't do is ask questions regarding writing text in general Java when you're trying to make a minecraft plugin
And quite frankly, making things with a programming language require to understand a bunch of things. Normally someone who can do that kind of stuff would not need me to explain such an obvious thing. I think you need to progress
so can u help me pleasae?
I literally can't as I don't make minecraft plugins.
And I would never have gotten involved, if you had done your job to specify this is specific to minecraft
ok but i want to only know how to change the font
is it this really that difficult
How would I know? Ask people who do minecraft plugins.
What's so hard to understand in the blindingly obvious?
do you know someoner?
show the code
where you use drawstring
No, but you could have started to ask here, while nonidiotically mentioning that you're asking about minecraft.
Also, it might be harder than just "changing fonts" in which case I wouldn't know that and the people who understand this technology would be unable to bear with you and how you say nothing useful
didnt daniel answer this in general btw
No, he did like me, assume people are smart and they wouldn't ask minecraft questions without saying it's about minecraft. His answer has nothing to do with minecraft
well thats kind of a bad assumption lmao
Unfortunately. But fundamentally, people who can't do that, also can't produce something with a programming language anyway
so anyway i found this link
GitHub
GitHub - Wiicart/Fonts: Brings convenient use of Unicode fonts to M...
Brings convenient use of Unicode fonts to Minecraft chat - Wiicart/Fonts
@Echo Development you can take a look at how its done here
ok....
idk minecraft plugins that much so ye that should be a start
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.