[PD-dev] cross-platform font size
Hans-Christoph Steiner
hans at eds.org
Fri Jun 10 03:40:40 CEST 2005
The negative font sizes seem to work for me. But it looks like
somethings will have to be changed in Pd in order to support them
properly.
I am going to wait and see where Miller is going with his font reorg
before doing any more with this.
.hc
On Jun 9, 2005, at 2:59 PM, B. Bogart wrote:
> Woops that is:
>
> {courier -12 bold}
>
> My tcl book says nothing I can find about negative font sizes, I
> beleive
> you!
>
> B<>
>
> B. Bogart wrote:
>> the X11 style font should be replacable with:
>>
>> {courier bold -12}
>>
>> after the -font option.
>>
>> I've not tried it myself, HC please sed it and lets see what happens!
>> :)
>>
>> B>
>>
>> Hans-Christoph Steiner wrote:
>>
>>>
>>> On Jun 9, 2005, at 12:56 PM, IOhannes m zmoelnig wrote:
>>>
>>>> Hans-Christoph Steiner wrote:
>>>>
>>>>> So a bunch of us are working on workshops and documentation and we
>>>>> are of course butting our heads against the font issue again.
>>>>> Does anyone have a good idea to fix this? I remember some talk
>>>>> about
>>>>> converting the fonts to pixel sizes rather than point sizes. That
>>>>> sounds like exactly what we should do. I've poked around a bit, but
>>>>> my Tcl skills are not so sharp.
>>>>
>>>>
>>>>
>>>> in tk you just give the size as negative values and that'll be the
>>>> font-size in pixels (absolute)
>>>>
>>>> so, while a font-size "12" is 12 points, "-12" is 12 pixels.
>>>>
>>>> here ends my knowledge of tcl/tk
>>>
>>>
>>>
>>> I remember that discussion. What I don't really know is where to put
>>> change 12 to -12. The fonts are specified in the Xwindows style:
>>>
>>> -*-courier-bold--normal--12-*
>>>
>>> Do we have to change to a different format for specifying fonts?
>>>
>>> .hc
>>>
>>> _____________________________________________________________________
>>> ___
>>> ___
>>>
>>> "Information wants to be free."
>>> -Stewart Brand
>>>
>>>
>>> ---------------------------------------------------------------------
>>> ---
>>>
>>> _______________________________________________
>>> PD-dev mailing list
>>> PD-dev at iem.at
>>> http://lists.puredata.info/listinfo/pd-dev
>>>
________________________________________________________________________
____
"[W]e have invented the technology to eliminate scarcity, but we are
deliberately throwing it
away to benefit those who profit from scarcity."
-John Gilmore
More information about the Pd-dev
mailing list