Lisp HUG Maillist Archive

Fonts in CAPI:EDITOR-PANE

Hi

(use-package "CAPI")

(contain (make-instance 'editor-pane
		:font (gp:make-font-description :family "times" :size 12 :slant 
:roman :weight :medium)
		:background :green))

The editor pane does not have the expected font.  The background works 
instead.

Cheers

--
Marco Antoniotti					http://bioinformatics.nyu.edu/~marcoxa
NYU Courant Bioinformatics Group		tel. +1 - 212 - 998 3488
715 Broadway 10th FL				fax. +1 - 212 - 998 3484
New York, NY, 10003, U.S.A.


RE: Fonts in CAPI:EDITOR-PANE

Marco Antoniotti:
> (use-package "CAPI")
> 
> (contain (make-instance 'editor-pane
> 		:font (gp:make-font-description :family "times" 
> :size 12 :slant 
> :roman :weight :medium)
> 		:background :green))
> 
> The editor pane does not have the expected font.

Maybe because editor panes must have a fixed-width font?



Re: Fonts in CAPI:EDITOR-PANE


On Jan 6, 2006, at 5:08 PM, Simon Katz wrote:

> Marco Antoniotti:
>> (use-package "CAPI")
>>
>> (contain (make-instance 'editor-pane
>> 		:font (gp:make-font-description :family "times"
>> :size 12 :slant
>> :roman :weight :medium)
>> 		:background :green))
>>
>> The editor pane does not have the expected font.
>
> Maybe because editor panes must have a fixed-width font?
>
>

Yep.  That's it.  Thanks.

Cheers

--
Marco Antoniotti					http://bioinformatics.nyu.edu/~marcoxa
NYU Courant Bioinformatics Group		tel. +1 - 212 - 998 3488
715 Broadway 10th FL				fax. +1 - 212 - 998 3484
New York, NY, 10003, U.S.A.


Updated at: 2020-12-10 08:49 UTC