hzeller / flaschen-taschen

Noisebridge Flaschen Taschen display
GNU General Public License v3.0
196 stars 48 forks source link

.bdf file not working in flaschen-taschen #30

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi,

With reference to the issue number #323 of rpi-rgb-led-matrix. Can u fix the bug in it through which we can run .bdf files in flaschen-taschen ?

Thanks and Regards, Anirban Neogi

hzeller commented 7 years ago

Do you have an example font file that exhibits the problem ?

ghost commented 7 years ago

https://drive.google.com/open?id=0BztprZbZcrLGVTFnamxLRExfWmM

You can download the font from the above link. The above font works fine with rpi-rgb-led-matrix but it does not work with flaschen-taschen.

hzeller commented 7 years ago

I have now fixed FlaschenTaschen code to deal with proportinal fonts, e.g. the fonts/helvR12.bdf in this distribution.

(The above file is a spline font format, not BDF @Anrban , but I could reproduce and fix the issue with the helvR12 file).