Skip to content

Commit 569c577

Browse files
Correções da fonte
1 parent 5df0ee5 commit 569c577

File tree

4 files changed

+137
-0
lines changed

4 files changed

+137
-0
lines changed

Diff for: OMG Zombies/Content/Content.mgcb

+17
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,23 @@
8585
/processorParam:TextureFormat=Color
8686
/build:Buttons/play.png
8787

88+
#begin Fonts/charybdis.ttf
89+
/copy:Fonts/charybdis.ttf
90+
91+
#begin Fonts/charybdis_big.spritefont
92+
/importer:FontDescriptionImporter
93+
/processor:FontDescriptionProcessor
94+
/processorParam:PremultiplyAlpha=True
95+
/processorParam:TextureFormat=Compressed
96+
/build:Fonts/charybdis_big.spritefont
97+
98+
#begin Fonts/charybdis_normal.spritefont
99+
/importer:FontDescriptionImporter
100+
/processor:FontDescriptionProcessor
101+
/processorParam:PremultiplyAlpha=True
102+
/processorParam:TextureFormat=Compressed
103+
/build:Fonts/charybdis_normal.spritefont
104+
88105
#begin Fonts/Hud.spritefont
89106
/importer:FontDescriptionImporter
90107
/processor:FontDescriptionProcessor

Diff for: OMG Zombies/Content/Fonts/charybdis.ttf

20 KB
Binary file not shown.

Diff for: OMG Zombies/Content/Fonts/charybdis_big.spritefont

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
This file contains an xml description of a font, and will be read by the XNA
4+
Framework Content Pipeline. Follow the comments to customize the appearance
5+
of the font in your game, and to change the characters which are available to draw
6+
with.
7+
-->
8+
<XnaContent xmlns:Graphics="Microsoft.Xna.Framework.Content.Pipeline.Graphics">
9+
<Asset Type="Graphics:FontDescription">
10+
11+
<!--
12+
Modify this string to change the font that will be imported.
13+
-->
14+
<FontName>charybdis</FontName>
15+
16+
<!--
17+
Size is a float value, measured in points. Modify this value to change
18+
the size of the font.
19+
-->
20+
<Size>42</Size>
21+
22+
<!--
23+
Spacing is a float value, measured in pixels. Modify this value to change
24+
the amount of spacing in between characters.
25+
-->
26+
<Spacing>0</Spacing>
27+
28+
<!--
29+
UseKerning controls the layout of the font. If this value is true, kerning information
30+
will be used when placing characters.
31+
-->
32+
<UseKerning>true</UseKerning>
33+
34+
<!--
35+
Style controls the style of the font. Valid entries are "Regular", "Bold", "Italic",
36+
and "Bold, Italic", and are case sensitive.
37+
-->
38+
<Style>Regular</Style>
39+
40+
<!--
41+
If you uncomment this line, the default character will be substituted if you draw
42+
or measure text that contains characters which were not included in the font.
43+
-->
44+
<!-- <DefaultCharacter>*</DefaultCharacter> -->
45+
46+
<!--
47+
CharacterRegions control what letters are available in the font. Every
48+
character from Start to End will be built and made available for drawing. The
49+
default range is from 32, (ASCII space), to 126, ('~'), covering the basic Latin
50+
character set. The characters are ordered according to the Unicode standard.
51+
See the documentation for more information.
52+
-->
53+
<CharacterRegions>
54+
<CharacterRegion>
55+
<Start>&#32;</Start>
56+
<End>&#126;</End>
57+
</CharacterRegion>
58+
</CharacterRegions>
59+
</Asset>
60+
</XnaContent>
+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
This file contains an xml description of a font, and will be read by the XNA
4+
Framework Content Pipeline. Follow the comments to customize the appearance
5+
of the font in your game, and to change the characters which are available to draw
6+
with.
7+
-->
8+
<XnaContent xmlns:Graphics="Microsoft.Xna.Framework.Content.Pipeline.Graphics">
9+
<Asset Type="Graphics:FontDescription">
10+
11+
<!--
12+
Modify this string to change the font that will be imported.
13+
-->
14+
<FontName>charybdis</FontName>
15+
16+
<!--
17+
Size is a float value, measured in points. Modify this value to change
18+
the size of the font.
19+
-->
20+
<Size>22</Size>
21+
22+
<!--
23+
Spacing is a float value, measured in pixels. Modify this value to change
24+
the amount of spacing in between characters.
25+
-->
26+
<Spacing>0</Spacing>
27+
28+
<!--
29+
UseKerning controls the layout of the font. If this value is true, kerning information
30+
will be used when placing characters.
31+
-->
32+
<UseKerning>true</UseKerning>
33+
34+
<!--
35+
Style controls the style of the font. Valid entries are "Regular", "Bold", "Italic",
36+
and "Bold, Italic", and are case sensitive.
37+
-->
38+
<Style>Regular</Style>
39+
40+
<!--
41+
If you uncomment this line, the default character will be substituted if you draw
42+
or measure text that contains characters which were not included in the font.
43+
-->
44+
<!-- <DefaultCharacter>*</DefaultCharacter> -->
45+
46+
<!--
47+
CharacterRegions control what letters are available in the font. Every
48+
character from Start to End will be built and made available for drawing. The
49+
default range is from 32, (ASCII space), to 126, ('~'), covering the basic Latin
50+
character set. The characters are ordered according to the Unicode standard.
51+
See the documentation for more information.
52+
-->
53+
<CharacterRegions>
54+
<CharacterRegion>
55+
<Start>&#32;</Start>
56+
<End>&#126;</End>
57+
</CharacterRegion>
58+
</CharacterRegions>
59+
</Asset>
60+
</XnaContent>

0 commit comments

Comments
 (0)