Good morning to all,

In my investigation to see if there is a work around for my copy/paste
problem, i was looking at the properties that X-Windows uses. I was
somewhat sidetracked by xrandr and fc-list.

This led me to try altering the following command in the setup method
for my form

        self.set_attribs("size=1149,642", "pos=1024,0", "font=Nimbus
Sans L,18,Italic")

after reading one of the sections within the Graphics Programming in
Icon book. I have found that this works quite well and uses the
appropriate font on my system. I can get the attributes of my dual
screen system and the full list of available fonts. This has also lead
me to looking at UI and seeing how the fonts are selected there. I have
a path forward.

Source code used is

procedure main()
    local cmd, xrandr := [], fclist := []
    local f
    cmd := "xrandr"
    f := open(cmd, "p")
    while put(xrandr, read(f))
    close(f)
    cmd := "fc-list"
    f := open(cmd, "p")
    while put(fclist, read(f))
    close(f)
    write("xrandr:", ximage(xrandr))
    write("fc-list:", ximage(fclist))
end

link ximage

Any thoughts on applicable versions for Mac OS and MS Windows? I know
that I have asked about xrandr some time ago.

Clinton,

I notice that the Graphics Programming in Icon book does not list
"selection" in appendix G in either the Canvas nor the Graphics Context
attributes. Would I expect to see the full range of allowable options to
be found in the source files in the runtime system or does the runtime
get a list of applicable options from the o/s it is running on? I
haven't as yet looked at the source code (C not being my favourite
programming language). Any guidance as to where might be the most
applicable area would be appreciated before delving into each of the
files. I will do this on the morrow. 'Tis late now and I'm heading off
to the Land of Nod.

regards

Bruce Rennie.

------------------------------------------------------------------------------
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to