Go to advanced search

by mwingaa
Fri May 15, 2015 9:54 am
Forum: Python
Topic: Solved: Select font and size in python
Replies: 4
Views: 12938

Re: Solved: Select font and size in python

That worked too, so ...
let's make it a pubcrawl, shall we?

Have a lovely day.

-Mikael
by mwingaa
Fri May 15, 2015 8:53 am
Forum: Python
Topic: Solved: Select font and size in python
Replies: 4
Views: 12938

Re: Select font and size in python

I put the ttf file in a handy location and pass the relative path to the ImageFont constructor. So if it was in a subdirectory of the same directory as the program file called 'fonts' font = ImageFont.truetype('fonts/Minecraftia-Regular.ttf', 8) If it's a special font for that project then that see...
by mwingaa
Thu May 14, 2015 2:14 pm
Forum: Python
Topic: Solved: Select font and size in python
Replies: 4
Views: 12938

Solved: Select font and size in python

Hello, I am trying figure out how to select font and size in python. I've got an Adafruit display for a project of mine. But the default size of the chars are really small (it's a small display too - 0.96") What work is this: # Load default font. font = ImageFont.load_default() draw.text((x, top), '...
by mwingaa
Thu Aug 23, 2012 9:27 pm
Forum: Media centres
Topic: looking for volunteer programmer.
Replies: 98
Views: 18732

Re: looking for volunteer programmer.

Serac,

thanks a lot.

Mikael
by mwingaa
Thu Aug 23, 2012 8:49 pm
Forum: Media centres
Topic: looking for volunteer programmer.
Replies: 98
Views: 18732

Re: looking for volunteer programmer.

Hi Serac,

I have bought a display like yours on eBay and it's on the way from China.
Could you please describe the steps you took to make this work?

Thanks in advance.

Mikael
by mwingaa
Fri Aug 17, 2012 3:05 pm
Forum: Beginners
Topic: Automatic setup for RTL8188CUS based wifi adapters
Replies: 1147
Views: 668084

Re: Automatic setup for RTL8188CUS based wifi adapters

for anyone needs the driver for latest version of linux which is currently: Linux pi2 3.1.9+ #272 PREEMPT Tue Aug 7 22:51:44 BST 2012 armv6l GNU/Linux Here is the compiled driver file: (took ages on my raspi to compile) https://bitly.com/Ooigu1 just copy it to your modules directory and replace it ...
by mwingaa
Mon Aug 06, 2012 6:09 pm
Forum: HATs and other add-ons
Topic: Arduino compatible on the Raspberry Pi: AlaMode!
Replies: 18
Views: 8423

Re: Arduino compatible on the Raspberry Pi: AlaMode!

I'm very interested in this, any news?

Kind regards,

Mikael
by mwingaa
Mon Jul 30, 2012 8:40 am
Forum: Beginners
Topic: Automatic setup for RTL8188CUS based wifi adapters
Replies: 1147
Views: 668084

Re: Automatic setup for RTL8188CUS based wifi adapters

Dear Mr. Engman, your script is working great, but I have a suggestion for the next version. I don't like the wpa-psk is in clear text in /etc/network/interfaces. Why not patch /etc/wpa_supplicant.conf instead? # to get encoded PSK run: wpa_passphrase <ESSID> psk=<psk returned by wpa_passphrase> Kin...
by mwingaa
Wed May 30, 2012 7:17 pm
Forum: General discussion
Topic: Invitation to order from RS
Replies: 575
Views: 100019

Re: Invitation to order from RS

[quote="jengla"]If you are still looking for an order code, I received mine this morning and have now chose not to get a Pi.

Great, then I'll get mine faster :)

Cheers,

Mikael

Go to advanced search