You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes typo and updated instructions for clarity in Chapter 16 of the 2D tutorial (#184)
* Fix typo in SpriteFont loading instructions
Corrected a typo in the SpriteFont description section.
* Update font file saving instructions in tutorial
Clarified instructions for saving the font file using the MGCB Editor.
* Update font download instructions for clarity
Copy file name to clipboardExpand all lines: articles/tutorials/building_2d_games/16_working_with_spritefonts/index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ For most games, the default range is sufficient.
125
125
126
126
## Loading a SpriteFont Description
127
127
128
-
To load a SpritFont Description, we use the [**ContentManager.Load**](xref:Microsoft.Xna.Framework.Content.ContentManager.Load%60%601(System.String)) method with the [**SpriteFont**](xref:Microsoft.Xna.Framework.Graphics.SpriteFont) type:
128
+
To load a SpriteFont Description, we use the [**ContentManager.Load**](xref:Microsoft.Xna.Framework.Content.ContentManager.Load%60%601(System.String)) method with the [**SpriteFont**](xref:Microsoft.Xna.Framework.Graphics.SpriteFont) type:
129
129
130
130
```cs
131
131
// Loading a SpriteFont Description using the content pipeline
@@ -198,7 +198,7 @@ First, we will need to create a SpriteFont Definition. Open the *Content.mgcb*
198
198
199
199
### Download the Font File
200
200
201
-
Next, right-click the following TTF font and choose "Save Link as..." and save it in the same folder as the *04B_30.spriteFont* file we just created.
201
+
Next, right-click the following TTF font and choose "Save Link as...". Save the file in the same folder where you created the *04B_30.spriteFont* file using the MGCB Editor. This ensures the font is correctly linked and available for your SpriteFont configuration.
0 commit comments