トップページ > 過去ログ > 記事閲覧
フォントが上手く使えないです
名前:テンコウ 日時: 2011/12/03 23:58

フォントが上手く使えないです どうしたらよいでしょうか ttp://xchaoticx.ame-zaiku.com/font.html このページのS-Simpleというフォントです ソース(一部) fonthundle = CreateFontToHandle( "S-Simple" , 20 , 20 , DX_FONTTYPE_ANTIALIASING_EDGE ) ; DrawFormatStringToHandle( 100 , 100 ,GetColor(255,255,255) , fonthundle , "abcABC Thequickあいう123" ) ; ttp://or2.mobi/index.php?mode=image&file=18468.jpg 出力 ttp://or2.mobi/index.php?mode=image&file=18469.jpg こういうフォント ttp://or2.mobi/index.php?mode=image&file=18471.jpg インストールは住んでいます ttp://or2.mobi/index.php?mode=image&file=18472.jpg

Page: 1 |

Re: フォントが上手く使えないです ( No.1 )
名前:いっち 日時:2011/12/04 02:02

以下のように変更した場合どのようになるかお試し下さい。 > fonthundle = CreateFontToHandle( "S-Simple" , 20 , 20 , DX_FONTTYPE_ANTIALIASING_EDGE ) ; ↓↓↓↓ 変更 ↓↓↓↓ > fonthundle = CreateFontToHandle( "S-Simple" , 20 , 20 , DX_FONTTYPE_ANTIALIASING_EDGE, DX_CHARSET_DEFAULT) ;
Re: フォントが上手く使えないです ( No.2 )
名前:テンコウ 日時:2011/12/04 10:36

ありがとうございます! うまく動きました!

Page: 1 |