Questions tagged [spritefont]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
45 views

Built in windows font wont load correctly in MonoGame

I am currently attempting to load this font in the MonoGame pipeline: I set the .spriteFont file to this: <?xml version="1.0" encoding="utf-8"?> ...
0
votes
1answer
195 views

Xna Spritefont from installed fonts

I am using Spritefont in my game and I have downloaded a .ttf font and installed it on my machine. I am now using this font in my game. My question is if this game is run on another machine will the ....
0
votes
1answer
198 views

DirectX 11 Sprite Alpha (Invalid? + Bad Quality)

i have a bug with a texture font. This is the texture file in photoshop: This is the result i am getting: The alpha from 0 and 1 shows weird artifacts as the final result, alongside the low quality ...
1
vote
0answers
90 views

Changing Spritefont Sizes Without Anti-Aliasing in MonoGame

I'm using a custom font for a small game in MonoGame, and it is made on an 8x8 grid, so I have to scale it to make it bigger. Currently I am scaling the scale in the spriteBatch.Begin() method, but ...
3
votes
1answer
144 views

How to maintain char widths of non-monospace fonts?

Having a font via spritesheet (as PNG), the easiest way to render fonts from that is just showing chars as monospace, but as you can imagine, that looks not pretty with chars like ...
2
votes
2answers
777 views

Creating and editing a .fnt file based on a PNG source

I am currently making a game, (obviously), with the LIBGDX Java Library. I have already made a font, (It's a PNG file, not a TTF or RTF), that looks something like this: (It's a mockup, by the way.) ...
1
vote
1answer
352 views

How to render sprites without using SpriteRenderers

I'm creating a component that lets you write text, like the UI Text component, but using sprites as letters. I already have the mapping for characters->sprites, and now was going to draw the text ...
0
votes
1answer
100 views

Error loading “SpriteFont1”. File not found

I have an issue while trying to load a font file with the extension ".xnb" and I am receiving following error: Error loading "SpriteFont1". File not found. For ...
0
votes
3answers
464 views

How do I draw non-smoothed fonts in MonoGame 3.5?

I don't want to smooth the tiny fonts I'm building but even disabling ClearType system wide doesn't let me create SpriteFont files with sharp characters. There doesn't seem to be an option for ...
1
vote
1answer
2k views

Loading font in Monogame

This question is probably a duplicate but I'm still asking it since it's all yesterday that I'm trying to get this done without any success. I followed many solutions and tried even more libraries ...
0
votes
1answer
27 views

DrawFont with VB

I'm having a problem with fonts. As far as I can see from the very limited information on the SpriteFont, I should be able to add a font to my Content as a SpriteFont. However the SpriteFont doesn't ...
0
votes
1answer
92 views

Why not draw a custom font with lines and/or polygons?

Reasons/advantages I see: More flexible procedural animation. Completely custom font. Performance (no texturing or high-poly)? No assets (unless data-driven). Multi-resolution compared to sprite ...