Sponsors



Go Back   Zune Boards > Zune Discussions > Zune Games > Development Discussions

New Member?



 
Register Zunecentive FAQ Members List Calendar Search Today's Posts Mark Forums Read

Development Discussions All developers who are coding games may stop by here for any help, suggestions, and everything development related.

Reply
 
LinkBack Thread Tools
Old 05-27-2008, 06:01 PM   #1 (permalink)
also a n00blet chef
An army of many
Jr. Staff
zB Programmer
Experienced Member
 
itsnotabigtruck's Avatar
 
Join Date: May 2008
Posts: 860
Reputation: 174
$zB: 572
Donate
Awards Showcase
Best username 
Total Awards: 1
Default Including fonts without requiring them to be on the target system

You can include fonts without requiring them to be on the target system by copying the .XNB from the bin folder into your Content folder, then setting the Build Action to Content and the Copy to Output Directory setting to Copy always. You can then get rid of the .spritefont file and the same XNB that would have been compiled anyway will be included with the game.

You can get rid of the warning that will show up by adding
Code:
<DisableContentItemWarning>True</DisableContentItemWarning>
at the end of the first <PropertyGroup> block in your content.contentproj.

Hope this will help people make games that use fonts other than Arial (worst...font...ever... ).
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.

signature by
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.




itsnotabigtruck is offline   Reply With Quote
Remove Advertisements Sponsored Links
Advertisement
 
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Register and remove this ad

All times are GMT -8. The time now is 04:41 AM.

 
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC8
vB Ad Management by =RedTyger=
(C) ZuneBoards 2006-2007
Copyright © 2006 - 2008 Zune Boards | About Zune Boards | Legal | A member of the Crowdgather Forum Community