goooch
1st March 2004, 12:54
Hi, All
How to change font size if I use the CREATE.GTEXT function?

Thanks

goooch
2nd March 2004, 09:32
Ok, I've just founded in docs

long font_mask,font_it_20
long font_req(FNTMAXSIZE)
long font_rep(FNTMAXSIZE)
fnt.slant(font_req)=FNTITALIC
fnt.height(font_req)=20
font_mask=FNTSLANT+FNTHEIGHT
font_it_20=load.font(0,font_mask,font_req,font_rep)

Thanks

cherokee
12th January 2006, 17:36
Hi,

I am using the sampel you posted and also tried the sample from the manual.
when the window opens gives me the following error:

fatal error: value DsNheight = 170073 out of range (0,32767)
fatal error: value DsNwidth = 575540 out of range (0,32767)

Also the display is so big that I can't see any node in my tree.

Do you have any idea what could be wrong with this?
Also I found in the documentation that, the "%SFttmanpagesload.font" should be called to load a font. Is this refering to the load.font() function(below in my code) or to something else?



mask = FNTHEIGHT + FNTWEIGHT + FNTSLANT
fnt.weight(request) = FNTMEDIUM
fnt.height(request) = 12
fnt.slant(request) = FNTROMAN
font = load.font(current.display(), mask, request, reply)
set.tree.font(tree.id, 1, font, proc.id)


Thanks in advance,

Carlos

:confused: