From: Kevin A. <al...@se...> - 2001-08-29 05:47:29
|
Are we trying to be CSS-like or have people be able to copy an existing CSS font-family description and use it in PythonCard? The original { font-family: "New Century Schoolbook", Times, serif } what I tested... Test('"New Century Schoolbook", Times, serif') produces <"New Century Schoolboo", Times, serif> ['New Century Schoolboo', ',', 'Times,', 'serif'] My brain is too tired right now to grok what I need to do in the method that sets the font facename and/or family, so I'll look at this again tomorrow. I know I have to iterate through the list, but... ka > -----Original Message----- > From: pyt...@li... > [mailto:pyt...@li...]On Behalf Of Neil > Hodgson > Sent: Tuesday, August 28, 2001 10:31 PM > To: pyt...@li... > Subject: Re: [Pythoncard-users] cascading style sheets (CSS) guide > > > Kevin: > > > BTW, I am not going to write the parser to handle CSS > descriptions for the > > prototype. Somebody else is going to have to tackle that. If that means > that > > we are stuck with a variation of my initial font description > solution for > a > > while, then so be it. > > Here is a parser for family lists which is the only extra > functionality I > see as needed. > > Neil > |