Re: Missing py2exe, needed 4 a gcode generator to engrave text in fancy ttf fonts in steel

2013-09-20 Thread Gene Heskett
e page. Supposedly by using the src, I can build it with TTF support, which is missing from the file offered in the right most python only column. All the other checks and tests on the setup page work, and all the other dependencies appear to have been met. The setup file itself I find, shouldn't

Re: Missing py2exe, needed 4 a gcode generator to engrave text in fancy ttf fonts in steel

2013-09-20 Thread Chris Angelico
On Fri, Sep 20, 2013 at 3:14 PM, Gene Heskett wrote: > Can someone take a look at > > > > Then this is what I get: > gene@coyote:~/src/F-Engrave-1.22_src$ python py2exe_setup.py > Traceback (most recent call last): > File "

Missing py2exe, needed 4 a gcode generator to engrave text in fancy ttf fonts in steel

2013-09-19 Thread Gene Heskett
Greetings; Since the missing module is intended for making python stuff run standalone on a winderz box, I've no clue why it should be needed to build and make F- Engrave run on my 10.04.4 LTS box, but it insists on loading it in the setup.py script that starts it the first time. FWIW, cxfreeze

Re: Fonts & Tinker

2013-01-30 Thread Angel
THis one workd fine: .option_add('*Font', "Heveltica 14") Thanks! Á. -- http://mail.python.org/mailman/listinfo/python-list

Re: [SPAM] Fonts & Tinker

2013-01-28 Thread Łukasz Posadowski
Dnia 2013-01-25, pią o godzinie 20:41 -0800, Angel pisze: > but the real displayed fonts in the window are smaller (default size of 12, > maybe). > > Am I missing something? > > Thanks in advance, > A. > Did you tried this by simple: --- roo

Re: Fonts & Tinker

2013-01-27 Thread Rick Johnson
On Friday, January 25, 2013 10:41:36 PM UTC-6, Angel wrote: > I am changing the default font for a Tkinter application: > > > > class FuelControl(Tkinter.Frame): > > def __init__(self,master): > > self.version='0.02' > > self.font=tkFont.Font(family="Helvetica",size=18) >

Re: Fonts & Tinker

2013-01-25 Thread Paul
class FontSpec: """Wrapper for something like 'Arial 10 bold #red' """ tkf = None # Tk Font spec = "" # specification tkspec = "" # specification for Tk family = None size = 0 color = "black" weight = "normal" slant = "roman" underline = 0 overstrike

Re: Fonts & Tinker

2013-01-25 Thread Angel
Dammm it should be Tkinter for subject..:D -- http://mail.python.org/mailman/listinfo/python-list

Fonts & Tinker

2013-01-25 Thread Angel
rid(row=1,column=0) Tkinter.Label(addw,text='Address:', font=self.font).grid(row=2,column=0) Tkinter.Label(addw,text='Fuel name:',font=self.font).grid(row=3,column=0) ... The self.font stays with the right value: {'family': 'Nimbus Sans L&#x

Re: Korean fonts on Python 2.6 (MacOsX)

2012-05-24 Thread Ulrich Eckhardt
Am 23.05.2012 11:30, schrieb 20_feet_tall: > I have a problem with the visualization of korean fonts on Python. > When I try to type in the characters only squares come out. > I have tried to install the CJK codec, the hangul 1.0 codec but still > no result. What exactly do y

Korean fonts on Python 2.6 (MacOsX)

2012-05-23 Thread 20_feet_tall
I have a problem with the visualization of korean fonts on Python. When I try to type in the characters only squares come out. I have tried to install the CJK codec, the hangul 1.0 codec but still no result. Hoep someone can help me out. -- http://mail.python.org/mailman/listinfo/python-list

wxpython custom fonts

2009-05-01 Thread mateusz . kruszynski
Hi, I`m going to build a small wxpython-based application. The problem is that I need to use a custom (dedicated) font in my text controls with special characters (of course I`ll need to create a simple editor for inserting those characters into text controls, but that`s not the case). Documentatio

Re: New fonts for python docs site

2009-04-23 Thread Mark
lly post. I'd looked at the site yesterday and it looked fine and after seeing the ugly fonts coupled with the docs site update of today, I jumped to a silly conclusion. -- http://mail.python.org/mailman/listinfo/python-list

Re: New fonts for python docs site

2009-04-23 Thread Marco Mariani
Mark wrote: e.g. see http://docs.python.org/library/index.html Please tell me this is a mistake? 3.X docs are the same. Looks ok. What do you see? -- http://mail.python.org/mailman/listinfo/python-list

New fonts for python docs site

2009-04-23 Thread Mark
e.g. see http://docs.python.org/library/index.html Please tell me this is a mistake? 3.X docs are the same. -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem in accessing files with unicode fonts.

2009-02-24 Thread Gabriel Genellina
En Tue, 24 Feb 2009 07:18:41 -0200, venutaurus...@gmail.com escribió: Thank you for your solution. It really helped. But how should I give if my path is in a varialble. For ex: path has that value obtained through command line arguments. path = sys.argv[2] In such a case how can we convert

Re: Problem in accessing files with unicode fonts.

2009-02-24 Thread venutaurus...@gmail.com
On Feb 24, 1:44 pm, "Gabriel Genellina" wrote: > En Tue, 24 Feb 2009 05:15:33 -0200, venu madhav   > escribió: > > > > >> > def findFile(dir_path): > >> >     for name in os.listdir(dir_path): > >> >         full_path = os.path.join(dir_path, name) > >> >         print full_path > >> >         if

Re: Problem in accessing files with unicode fonts.

2009-02-24 Thread Gabriel Genellina
En Tue, 24 Feb 2009 05:15:33 -0200, venu madhav escribió: > def findFile(dir_path): > for name in os.listdir(dir_path): > full_path = os.path.join(dir_path, name) > print full_path > if os.path.isdir(full_path): > findFile(full_path) > else: >

Re: Problem in accessing files with unicode fonts.

2009-02-23 Thread Mark Tolonen
Try os.walk for recursively walking directories. Also if you use a unicode parameter with os.walk or os.listdir you get unicode strings in the result. To run this successfully when you have non-ascii characters in your filenames, you will need to use an environment that supports the characters

Re: Problem in accessing files with unicode fonts.

2009-02-23 Thread venu madhav
On Tue, Feb 24, 2009 at 12:16 PM, Chris Rebert wrote: > A. Your reason for emailing us off-list makes no sense. The list would > garner you more and about as quick responses, not to mention the value > it adds through public archiving. CC-ing us /might/ have made slight > sense. > B. This is your

Re: Problem in accessing files with unicode fonts.

2009-02-23 Thread Chris Rebert
A. Your reason for emailing us off-list makes no sense. The list would garner you more and about as quick responses, not to mention the value it adds through public archiving. CC-ing us /might/ have made slight sense. B. This is your problem: v = unicode(full_path,errors='skip') I'd advise you

Re: How to read fonts in python

2008-11-17 Thread Robert Kern
7;t really know what you are doing. Perhaps you should start more slowly, and try explaining the real problem. I'm not even sure what "converting a font to Unicode" means, so you might start by explaining that. Fonts associate numbers to glyphs. Using Unicode code points for

Re: How to read fonts in python

2008-11-17 Thread Steve Holden
ganesh gajre wrote: > Hello all, > I am writing a program to convert indic true type font to unicode. For > which i need to know how to read the any file i.e Text, Doc, Excel file > in python and identify the font used in which that file is written. So > that using Map file can convert the file in

How to read fonts in python

2008-11-17 Thread ganesh gajre
Hello all, I am writing a program to convert indic true type font to unicode. For which i need to know how to read the any file i.e Text, Doc, Excel file in python and identify the font used in which that file is written. So that using Map file can convert the file in unicode. Ginovation. -- http

New TTF fonts in IDLE on Linux question

2008-07-12 Thread [EMAIL PROTECTED]
So I'm using this Akbar font, a truetype, related to Simpsons, for coding in Python, just for kicks (looks pretty good actually). No prob on Windows, but when I sudo cp akbar.ttf to /usr/share/fonts/ truetype/ttf-misc, a directory I made myself (root root), then OpenOffice and WingWare fi

Problem rendering indic fonts in Tkinter

2008-06-09 Thread varun embar
Hi, I was trying to build a kannada word processor using tkinter.But i have some problem rendering conjunct consonants. For eg:- a = Text(root) a.insert(INSERT,unichr(0x0c95)+unichr(0x0ccd)+unichr(0x0c95)) this gives two separate consonants rather than one conjunct consonant -- http://mail.python.

PIL and true type fonts

2008-04-13 Thread Laszlo Nagy
Attached a screenshot from a text rendered by GIMP (left side) and PIL (right side). Same truetype font. Is this a bug in PIL? Thanks, Laszlo <>-- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter fonts setting

2008-02-06 Thread Gabriel Genellina
ant is to get default OS font >>> unless (rarely) I need to specify another. >> >> Go to: >> http://www.pythonware.com/library/tkinter/introduction/ >> >> Read chapter 6, Widget Styling, there is a >> section on Fonts which has a sub-section on >

Re: Tkinter fonts setting

2008-02-06 Thread Unnamed One
o to: > http://www.pythonware.com/library/tkinter/introduction/ > > Read chapter 6, Widget Styling, there is a > section on Fonts which has a sub-section on > System Fonts. > > jim-on-linux > http://www.inqvista.com > These are fonts supported by individual syste

Re: Tkinter fonts setting

2008-02-06 Thread jim-on-linux
set font globally (or > specify "default" font for widgets)? In > fact, all I want is to get default OS font > unless (rarely) I need to specify another. > > Thanks Go to: http://www.pythonware.com/library/tkinter/introduction/ Read chapter 6, Widget Styling, there is

Tkinter fonts setting

2008-02-05 Thread Unnamed One
First question - is it possible to set font to default OS font for window text? It would be preferable, while on my Windows XP system Tkinter sets small Helvetica-style font by default. Secondly, can I set font globally (or specify "default" font for widgets)? In fact, all I want is to get defa

RE:changing fonts?

2007-12-11 Thread jyoung79
Hi Greg, > You can also use the MacOSX Character Palette to go hunting > for unicode characters. You can get to it from Terminal using > "Special Characters..." on the Edit menu. There's a search > box down the bottom where you can enter part of the unicode > name of a character, e.g. "GREEK" will

Re: changing fonts?

2007-12-09 Thread greg
[EMAIL PROTECTED] wrote: > I took Greg's idea and found this web-site: > > http://www.unicode.org/charts/PDF/U0370.pdf > > which gave me all the unicode characters for the Greek font. You can also use the MacOSX Character Palette to go hunting for unicode characters. You can get to it from Term

RE: changing fonts?

2007-12-09 Thread jyoung79
Hi Doug, > I'm not *that* familiar with the Terminal program on OS/X, but regardless > perhaps I can point out a possibly useful path to explore... Wow!! Thanks for all this info!! This is some good stuff!!! :-) Well, I got to experimenting with a lot of different stuff, as well as doing a l

Re: changing fonts?

2007-12-07 Thread Doug Morse
, cursor location, text color, and many other things). If so, then having Python change the font is simply a matter of having your Python program emit the correct escape sequence at the time you desire the font to change. Note, however, that the font will most likely change for the ENTIRE Terminal

changing fonts?

2007-12-07 Thread jyoung79
Hi Greg, Thanks for your fast reply. I apologize for my ignorance with unicode, but would you mind sharing an example of your experiment? Again, thanks for your help with this! Jay > I don't think you can control the font, but you can print > out the Greek text as utf8-encoded unicode. I jus

Re: changing fonts?

2007-12-07 Thread greg
[EMAIL PROTECTED] 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.

changing fonts?

2007-12-07 Thread jyoung79
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 G

Re: Tkfont.families does not list all installed fonts

2006-05-09 Thread Eric Brunel
On 7 May 2006 23:55:05 -0700, Atul <[EMAIL PROTECTED]> wrote: > 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. > >

Tkfont.families does not list all installed fonts

2006-05-08 Thread Atul
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. However, I cannot use the font in a python app that I am writing. The list returned by

Re: Legality of using Fonts

2006-02-12 Thread garabik-news-2005-05
Kamilche <[EMAIL PROTECTED]> wrote: > Yeah, that's what I'm thinking, as well. Showing all the text on an > image is one thing... using that image as the basis of a font engine is > something different. > > Luckily, someone has sent me a link to a set

Re: Legality of using Fonts

2006-02-11 Thread Chris Mellon
Your Honour, I converted the TTF file into a bitmap"). > > > > If that were true, almost the entire X11 bitmap font collection would > > be illegal. Fonts aren't subject copyright, just the hints in most > > outline fonts, which are considered computer programs. > > This

Re: Legality of using Fonts

2006-02-11 Thread Ross Ridge
Steven D'Aprano wrote: > In any case, even in the USA, hinted fonts are copyrightable, and merely > removing the hints (say, by converting to a bitmap) is no more legal than > whiting out the author's name from a book and claiming it as your own. That's an absurd compar

Re: Legality of using Fonts

2006-02-11 Thread Steven D'Aprano
he entire X11 bitmap font collection would > be illegal. Fonts aren't subject copyright, just the hints in most > outline fonts, which are considered computer programs. This may come as a shock to you, but the USA is not the entire world, and the US government's decision to exclude

Re: Legality of using Fonts

2006-02-10 Thread Terry Hancock
font FooBar, though you may get away with calling it TooBar, or some such thing. Certain fonts that have wide use in the free-software community, such as the "Lucida" series have had this problem. So far, this is all good news for you. But in fact, fonts can be copyrightable under the laws

Re: Legality of using Fonts

2006-02-10 Thread Robert Kern
Ross Ridge wrote: > Steven D'Aprano wrote: > >>It is highly unlikely that any judge will be fooled by a mere change in >>format ("but Your Honour, I converted the TTF file into a bitmap"). > > If that were true, almost the entire X11 bitmap font colle

Re: Legality of using Fonts

2006-02-10 Thread Ross Ridge
Steven D'Aprano wrote: > It is highly unlikely that any judge will be fooled by a mere change in > format ("but Your Honour, I converted the TTF file into a bitmap"). If that were true, almost the entire X11 bitmap font collection would be illegal. Fonts aren't subject

Re: Legality of using Fonts

2006-02-10 Thread Kamilche
Yeah, that's what I'm thinking, as well. Showing all the text on an image is one thing... using that image as the basis of a font engine is something different. Luckily, someone has sent me a link to a set of free TrueType fonts - http://www.gnome.org/fonts , the 'Vera' famil

Re: Legality of using Fonts

2006-02-10 Thread Steven D'Aprano
On Fri, 10 Feb 2006 09:08:28 -0800, Kamilche wrote: > I have a question for all you Pythoneers out there. I'm making a game > with Python, and have a need for fonts. I am currently using a free > TrueType font, but am considering switching to a bitmap font instead. > > Le

Re: Legality of using Fonts

2006-02-10 Thread Scott David Daniels
Kamilche wrote: > I have a question for all you Pythoneers out there. I'm making a game > with Python, and have a need for fonts. I am currently using a free > TrueType font, but am considering switching to a bitmap font instead. > > Let's say I own a font, and use

Legality of using Fonts

2006-02-10 Thread Kamilche
I have a question for all you Pythoneers out there. I'm making a game with Python, and have a need for fonts. I am currently using a free TrueType font, but am considering switching to a bitmap font instead. Let's say I own a font, and use it in a paint program to 'draw some tex

how to encode tamil fonts in python (parthasarathy)([EMAIL PROTECTED])

2006-01-04 Thread 0B85
i tried to encode tamil font in python using unicode but i couldn't.Can u help me in encoding it.ex:  >>> u'have \u0061 nice day'  u'have a nice day'--     \u0061 - a    

Re: reportlab and custom fonts

2005-08-26 Thread Reinhold Birkenfeld
Reinhold Birkenfeld wrote: > Hi, > > I'm trying to get reportlab working together with the Tahoma font > (by Microsoft ;) > > So far it's up and running (converted the ttf with ttf2pt1), but the > Euro sign (which is in position 0x80 in the WinAnsiEncoding) fails to > show up in the final PDF. >

reportlab and custom fonts

2005-08-26 Thread Reinhold Birkenfeld
Hi, I'm trying to get reportlab working together with the Tahoma font (by Microsoft ;) So far it's up and running (converted the ttf with ttf2pt1), but the Euro sign (which is in position 0x80 in the WinAnsiEncoding) fails to show up in the final PDF. I investigated a bit and saw that in the afm

Re: Idiots guide to fonts with tKinter

2005-08-04 Thread James Stroud
o it) but without the HTML. :-) > > My "newbie dream project" is to piece together a functional, WYSIWYG > text editor that can handle at least three fonts: Times New Roman, > Arial and Courier (bold, italics and underlined). > > I know, I know. That's pretty ambiti

Re: Idiots guide to fonts with tKinter

2005-08-04 Thread RangerElf
Well, all text classes in Tkinter can take a " font=(...) " argument to specify the face with which to display, for example: from tkinter import * label = Label(root, font=("Helvetica", "bold", 13), ...) It's been a while since I've played with Tkinter, so I might be a little off on the exa

Idiots guide to fonts with tKinter

2005-08-04 Thread import newbie
can do (or close to it) but without the HTML. :-) My "newbie dream project" is to piece together a functional, WYSIWYG text editor that can handle at least three fonts: Times New Roman, Arial and Courier (bold, italics and underlined). I know, I know. That's pretty ambitious. But

PIL and fonts

2005-05-19 Thread Leonard J. Reder
Hello, I wrote a quick application to annotate some images and find that I would like to use different fonts. I am using Python 2.4 with the PIL extension to do this. Moreover I use the ImageDraw text method. I read the documentation on ImageFont and would like a pointer to some useful

Re: Tiny fonts in wxPython app

2005-04-18 Thread Sven Kobow
Jeff Reavis wrote: > Sven, > It may be the default gtk font settings. This can be changed in the > .gtkrc file. > > -jjr > I'm not sure but the gnome font in general looks okay? Could be something about proportional fonts? Or maybe a Unicode issue? I read something abo

Re: Tiny fonts in wxPython app

2005-04-18 Thread Jeff Reavis
Sven, It may be the default gtk font settings. This can be changed in the .gtkrc file. -jjr -- http://mail.python.org/mailman/listinfo/python-list

Tiny fonts in wxPython app

2005-04-18 Thread Sven Kobow
Hello, I'm not yet a python programmer but a python user. I faced a problem with tiny fonts in a wxPython app on a GNU/Debian system. Under Gentoo Linux the fonts are displayed in a normal readable size. Only on that Debian system fonts in the whole app are rather tiny. I spend quite a long

Re: Fonts

2005-02-28 Thread Eric Brunel
On Fri, 25 Feb 2005 11:00:41 -0600, phil <[EMAIL PROTECTED]> wrote: I'm cpmpletely lost on fonts. I'm using Tkinter I do medarial = '-*-Arial-Bold-*-*--24-*-*-*-ISO8859-1" or Courier or Fixed in various sizes. Works great on my RH 7.2 But a small embedded system Im wo

Fonts

2005-02-25 Thread phil
I'm cpmpletely lost on fonts. I'm using Tkinter I do medarial = '-*-Arial-Bold-*-*--24-*-*-*-ISO8859-1" or Courier or Fixed in various sizes. Works great on my RH 7.2 But a small embedded system Im working on, nothing seems to work, almost everything falls back to a fixed 12 T

Re: Fonts and PIL

2005-02-23 Thread Ulf Göransson
Greg Lindstrom wrote: I'm running Python 2.3 on a windows box and would like to use PIL to superimpose text over an existing pgn image. I have no problem getting the text on the image but can not figure out how to manage fonts. How to set the font style and size. From reading the archi

Fonts and PIL

2005-02-23 Thread Greg Lindstrom
Hello- I'm running Python 2.3 on a windows box and would like to use PIL to superimpose text over an existing pgn image. I have no problem getting the text on the image but can not figure out how to manage fonts. How to set the font style and size. From reading the archives I surmise t