Hey there,
I'm just wondering if it is possible to specify a path to a font, as opposed to just the font name itself.
For example:
instead of this
I'm just wondering if it is possible to specify a path to a font, as opposed to just the font name itself.
For example:
Code:
m_FontDesc.Height = _iHeight; m_FontDesc.Width = _iWidth; m_FontDesc.Weight = _iWeight; m_FontDesc.MipLevels = _iMipLevels; m_FontDesc.Italic = _bItalic; m_FontDesc.CharSet = 0; m_FontDesc.PitchAndFamily = 0; m_FontDesc.Quality = 0; m_FontDesc.OutputPrecision = 0; [B] wcscpy_s(m_FontDesc.FaceName, "/Fonts/Showcard Gothic");[/B]
Code:
m_FontDesc.Height = _iHeight; m_FontDesc.Width = _iWidth; m_FontDesc.Weight = _iWeight; m_FontDesc.MipLevels = _iMipLevels; m_FontDesc.Italic = _bItalic; m_FontDesc.CharSet = 0; m_FontDesc.PitchAndFamily = 0; m_FontDesc.Quality = 0; m_FontDesc.OutputPrecision = 0; [B] wcscpy_s(m_FontDesc.FaceName, "Showcard Gothic");[/B]
And ideas on how to do this?
Thank you for your time :)