DefaultRenderer.setTextTypeface(Typeface)
doesn't seem to work, is this a known problem? I use the very same typeface everywhere in my app, so it's 100% all right. But if I pass it to the renderer, nothing changes. Using the other setTextTypeface()
, which accepts standard system fonts, seems to be inoperative as well.
Some source code, although it's more than straightforward:
DefaultRenderer renderer = new DefaultRenderer();
renderer.setAntialiasing(true);
renderer.setChartTitle(title);
...
renderer.setTextTypeface(MyApplication.getInstance().font.condensedNormal);
renderer.setShowLabels(true);
...
No error, no message, just the font doesn't get changed, I receive the system font all right.
Version 1.1.0, the latest that I could find.
Addendum: after some testing, it's only the PieChart that has the problem. Others seem to accept the font all right.