[REBOL] Re: wrong Fonts with Linux/Dabian and View
From: juan-carlos:miranda:wanadoo at: 27-Dec-2003 18:26
Hi. :)
I had the same problem some time ago.
I don't remember where I found this neither who has done it, but you can
set the
font used by rebol by adding this to your user.r file :
set-default-font: func [
"sets default font for /View"
font-blk [block! word!] "block of font attributes"
] [
system/standard/face/font: make system/standard/face/font font-blk
system/view/vid/vid-face/font: make system/view/vid/vid-face/font
font-blk
foreach [w s] system/view/vid/vid-styles [s/font: make s/font font-blk]
]
set-default-font [
name: "charter" ; put here the font you want.
size: 14 ; there the size you want.
]
This should do the trick. :)
Bouba
Rene Schrader-Boelsche wrote: