Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing font
#1
From the LINUX command line, I can run a PERL script by typing the following:

$ perl hello_world.pl -font "Times 24"

This will make the PERL script display everything in Times font 24 point.

I tried the same thing in python with a python program.

$ python hello_world.py -font "Times 24"

But it had no effect. Didn't even give an error message.

Is there anything in python that allows running the program in a different font?
Reply
#2
I tried it with the following Perl script and it didn't work
Output:
$str="My name is Gribouillis"; print "$str\n";
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Load external font and does not show font in the window ATARI_LIVE 16 8,115 Feb-05-2021, 10:36 PM
Last Post: EthanPayne
  Add DSIG to TTF font using ttx font tool Adrian 1 3,764 Nov-11-2017, 12:05 PM
Last Post: Adrian

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020