473,395 Members | 1,941 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

changing fonts?

This is probably a silly question, but alas, I'll ask it anyway...

Is it possible with Python, to change the font of the text returned in the Terminal Window in OS X? For example, lets say I'm running a Python program in Terminal, and it asks me "Please enter an English word to be changed to Greek:". So I then enter "bread". Is it possible for the next answer that Python returns in the Terminal Window to be displayed in the 'Symbols' font so that the Greek text is displayed correctly? I have my doubts, but thought I'd ask.

Thanks!

Jay
Dec 8 '07 #1
1 1524
jy******@kc.rr.com wrote:
Is it possible for the next answer that Python returns in the
Terminal Window to be displayed in the 'Symbols' font so that the
Greek text is displayed correctly?
I don't think you can control the font, but you can print
out the Greek text as utf8-encoded unicode. I just tried
an experiment and managed to get Greek letters displayed
this way.

I had to turn off the "Wide Glyphs for Japanese/Chinese etc."
option under File/Get Info to get the spacing to come out
right.

--
Greg
Dec 8 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Cengiz Ulku | last post by:
Hi all, I know now how to change the font name of a RTF file in a RTB control using, for example: RTextBox1.SelFontName = cmbFonts.Text I have a RTF file -created with Word- displayed in a...
1
by: Tom Rahav | last post by:
Hello. I use visual basic .net 2003 and Crystal Reports for creating win-reports. My question is if there is any possibility to set font properties (type, color and size) of a text control or...
2
by: Nathan Guill | last post by:
Everytime I change a font (from the properties window) I get an error. I can remove the line of code VB generates and I get no errors, but I would like to be able to change fonts. Any ideas what...
1
by: Justin Carter | last post by:
Hi. I have what I think is a strange thing happening when I copy code from one machine to another. I'm developing on a Win2000 desktop (17" monitor at 1280x1024 resolution). I'm putting the code...
4
by: L | last post by:
Hi there, Does C# support OpenType fonts? My c# application is not recognizing OpenType fonts. Thanks, Lalasa.
6
by: Ioannis Demetriades | last post by:
Hi, I need to change the printer's font to "control" -a printer font, and then send a sequence of characters to the printer. My problem is that I cannot change the printer's font. Can this be...
3
by: Scott | last post by:
Consider the follow code snippet. Why doesn't it work? // Initialize a CFont object with the characteristics given // in a LOGFONT structure. LOGFONT lf; memset(&lf, 0, sizeof(LOGFONT));...
1
by: Atul | last post by:
Hi, I have installed a truetype font (.ttf) on a linux machne (SUSE linux 10, KDE) by copying it to my .fonts folder. I can use the font in all applications like open-office and firefox browser....
12
by: rjw43 | last post by:
I'm trying to find out if there is a simple script or program out there that can change the font style dynamically on the web by the user. We manufacture products where there is an option of several...
1
by: IMAFriend | last post by:
I am trying to set one label based on the font size of another richtext box. I set the rtb to fontsize 10. In the middle of the program, if I look at rtb.font.size it is 10, but if I look at...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.