   How to load a custom Font in Directx?
  hi everyone,i have a custom font in these files:BHB_____.PFMBHB_____.PFBthen i tried to create the font in C++ like this:AddFontResource("Resources\\Fonts\\BHB_____.PFM");LOGFONT Font ={16,28,0,0,FW_MEDIUM,false,false,false,DEFAULT_CHARSET,OUT_TT_PRECIS,CLIP_DEFAULT_PRECIS,PROOF_QUALITY,DEFAULT_PITCH,"Bauhaus"};LPD3DXFONTm_Font;D3DXCreateFont(m_pd3dDevice, Font.lfWidth, Font.lfHeight, Font.lfWeight, 1, Font.lfItalic, Font.lfCharSet, Font.lfOutPrecision, Font.lfQuality,Font.lfPitchAndFamily, Font.lfFaceName, &m_Font);but all i get is Arialany idea why this is or how i load a custom font in Direct x?Thx a lot in advance   
  AddFontResourceEx() seems to be the customary way of registering a font at runtime, so that seems to be correct.  So a few other things that you could check:(1) Make sure that your AddFontResource() call actually succeeded(2) I don't know much about fonts, but make sure that everything is compatable with .PFM fonts.  An easy way to test would be to try the same thing with a .TTF one.(3) Try generalizing the logfont parameters a little bit.  Perhaps it is rejecting your font because you are asking too much.   ;  thx a lotgot it working:)i really overdid it with the parameters:)   ;  ok well i guess i was wrong :) its not workingi tried it with a .ttf file now when i do this AddFontResource the font is registeredi can even use it in words i guess the problem is the D3DXCreateFont  call cause any other system font is found and can be displayed but if i want to display my added font it just gives me Arialmaybe it needs the font file in a system folder?i have no clue whats going on:)i am happy for any hints:)   ;  I could be wrong, but I'm pretty sure Windows does not support Postscript fonts.   