Hi all!
I have a big problem, and I hope you can help me.
I'm porting a game from Linux to Windows, and using MinGW works fine (except for some crashes that I don't know how, but this is not my problem now)
Game use Fontconfig (2.4.2-3), Cairo (1.8.8) and Pango (1.26.0) to render text.
Problem is that, using Visual Studio, I can't see fonts (all characters are displayed as little box), and in the output it say me this:
** (performous.exe:4344): CRITICAL **: No modules found:
No builtin or dynamically loaded modules were found.
PangoFc will not work correctly.
This probably means there was an error in the creation of:
'D:\Project\PerformousInstall-vc\etc\pango\pango.modules'
You should create this file by running:
pango-querymodules > 'D:\Project\PerformousInstall-vc\etc\pango\pango.modules'
** (performous.exe:4344): WARNING **: couldn't load font "Bitstream Charter Not-Rotated 18px", falling back to "Sans Not-Rotated 18px", expect ugly output.
** (performous.exe:4344): WARNING **: couldn't load font "Sans Not-Rotated 18px", falling back to "Sans Not-Rotated 18px", expect ugly output.
** (performous.exe:4344): WARNING **: All font fallbacks failed!!!!
** (performous.exe:4344): WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderWin32', script='latin'
** (performous.exe:4344): WARNING **: All font fallbacks failed!!!!
This error is only when I use Visual Studio, but because it fix me a lot of other bugs, I'll be very interested to get fonts working under VS.
Sorry if I forgot something or I haven't posted anything, but I have no idea what to post.
Someone has some hints?
Thanks in advance for help, if I don't get myself clear, feel free to ask.