Download this file

notes.txt    40 lines (29 with data), 1.5 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
This file is for miscellaneous notes that do not really belong in the
manual (or will get there one day), and might be useful in using
sqlscreens.
======================================================================
Fonts:
-----
I really know nothing about X11 font handling: please, if you read
this and know better, set me right.
sqlscreens does not deal with fonts and always uses the tk defaults
except in one place: it will try to use a bold font for the column
headings in a list window (the headings are set in a text widget to
use the same tabs as the list).
The column headings code tries to derive the bold font from the default
text window font. This will fail is the font spec is not a Tk style
list like {Helvetica 12} but an X11 font spec like:
-*-courier-medium-r-*-*-12-*-*-*-*-*-*-*
This means that if you want to change the fonts from your Xdefaults,
you're better off using Tk-style specs than X11 style. Ex:
tablescreen*Label.font: Helvetica 24 bold
tablescreen*Entry.font: Helvetica 24
tablescreen*Button.font: Helvetica 24
tablescreen*Message.font: Helvetica 24 bold
Also, there seems to be no way to do this if the program name has a
'.' in it. In this case either rename the program or use 'option'
commands inside the program code like:
option add "*Label.font" {Lucida 24 bold}
option add "*Entry.font" {Lucida 24}
I found no easy way to increase all the font sizes for example.
======================================================================