Questions tagged [spritefont]

47 questions
1
vote
1 answer

Spritefont for Greek

I am searching for a spritefont that can support Greek letters. I have downloaded the Sprite Font Generator - v2 - Scirra Forums, but all the fonts I tried won't understand Greek, as seen below: What am I missing here?
gsamaras
  • 71,951
  • 46
  • 188
  • 305
1
vote
2 answers

DirectX::SpriteFont/SpriteBatch prevents 3D scene from drawing

I have a problem using DirectX::SpriteFont/DirectX::SpriteBatch (from DirectXTK; exactly the same problem as discussed here: Problems when drawing text using the SpriteFont class). void DrawScene(void) { HRESULT hr; float bgColor_a[4] = {…
wlasar86
  • 115
  • 2
  • 9
1
vote
2 answers

How to draw every characters with spritefont in monogame

I'm new to monogame, and I'm trying to make a .spritefont file in order to draw string with the font I choose. Strings with English characters can show well on the screen, but I wish to draw strings in multiple languages, like Japanese and…
J3soon
  • 3,013
  • 2
  • 29
  • 49
1
vote
0 answers

Spritefont Files not Drawing Monogame

I am working with Xamarin on Mac and my spritefonts are not drawing on IOS. they seem to not be appearing at all, despite all the files being loaded into ContentManager. does anyone know what a solution to this is?
1
vote
3 answers

Could not load Spritefont asset as a non-content file

I'm switching a game from xna to monogame and hit a snag. I've got my .spritefont file in project_name/Content, it's listed in the solution explorer, and I'm loading it with this line: debug_font = Content.Load ("Kooten"); But I'm…
Nightmare Games
  • 2,205
  • 6
  • 28
  • 46
1
vote
1 answer

Cannot create Spritefont Visual Studio 2013

I have a question about SpriteFont in XNA 4.0 with VS 2013. I installed XNA 4.0 from this link: https://msxna.codeplex.com/releases/view/117230 I also installed Monogames 3.2. So, the problem is, I don't have the SpriteFont in my VS :s There is a…
Taka
  • 33
  • 4
1
vote
1 answer

Substitute missing characters with "?" character

Is there an easy way to make default XNA method SpriteBatch.DrawString substitute characters that are not in spritefont with ? sign? I could go with an extension method, but I'm not sure how to implement it, as there is no way to know if a character…
user1306322
  • 8,561
  • 18
  • 61
  • 122
1
vote
1 answer

XNA SpriteFont issue when compiling under Windows 8

I recently upgraded to Windows 8, and installed Visual C# 2010 Express along with XNA Game Studio 4 (like I had on Windows 7). When compiling my project, I had an issue with spritefonts. Basically they became blurrier and not at all optimal. Here's…
NorriSPT
  • 11
  • 1
1
vote
0 answers

Draw sting without spritebatch in Monogame/XNA

In my project, I would like my text to be scalable without creating artifacts. This is not the case when using the spritebatch scaling settings; it looks pretty ugly. Is there a way to convert the text to a texture for better scaling, or is there…
alecnash
  • 1,750
  • 1
  • 18
  • 42
1
vote
1 answer

Xna text having extra space between characters

I'm making a new game, and I want to use my own textures for texts. I came across this cool tool called SpriteFont 2.0, which is like a WYSIWYG editor for making texture files for SpriteFont files in XNA. I made this font: But my problem is that…
pjrader1
  • 491
  • 7
  • 22
1
vote
2 answers

How to import a SpriteFont into MonoGame

I'm porting a simple tetris-like XNA app to Android, using Mono For Android and MonoGame; I have followed the suggested steps in this link and so far, everything compiles well, and no relevant warnings fire up. However, upon loading the contents, a…
1
vote
1 answer

WP7 XNA: How to change size or style of SpriteFont fonts dynamically in code?

There seems no way to change font size or style in code, right?? It seems the only way is to duplicate the font files and load them all when program starts?? Thanks
thsieh
  • 620
  • 8
  • 24
1
vote
1 answer

How do i highlight part of a text in a spritefont

Im working in xna and my problem is the following. I got a text where the first occurence of " ________ " should be highlightet for the user in some way. This could be done by making the fontsize of this part bigger, highlighting or some other way…
Drakthal
  • 193
  • 3
  • 14
1
vote
1 answer

XNA C# content.load Object reference not set to an instance of an object

Now the problem isnt that i dont know what the error means but i cannot for the life of god figure out what could possibly be the cause of this. I've searched alot looking for answers, but the solution to my anguish eludes me. ive many times tried…
user1344948
  • 141
  • 1
  • 3
  • 11
0
votes
1 answer

Clearing the drawn SpriteFont in XNA 4.0

This code is used to basically display number of times the user touches the screen. But the problem is every time the Update method(XNA 4.0), the previous texture is Drawn upon , therefore the count cannot be read. How do i clear the SpriteFont…