Re: How to retrieve a text string information



In article <1153021120.776205.269810@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
maura.monville@xxxxxxxxx <maura.monville@xxxxxxxxx> wrote:
.
.
.
2. By rescaling I mean to multiply the single object y-coordinate by
the inverse of the new aspect ratio. The default aspect ratio is 1:1..
The only other choice is 16:9.
Is this possible by retrieving the text strings through their common
tag ?
I do not use the Tk command "rescale" as it does not result in a canvas
whose aspect ratio is 16:9.

3. Should I need to rescale the text strings font as well (possibly
just choosing a smaller font) is this possible by retrieving the text
strings though the tag ?
.
.
.
I don't understand the questions. I'm reasonably sure Tk's
answers will be, "Yes". Fonts are a bit annoying to program,
but what I think you want is achievable.

Do you have a good Tcl reference? Font management should ap-
pear there. If you don't have a book, I recommend one; it
sounds as though you're going to be spending quite a bit of
time with Tcl/Tk, and the investment will pay off.
.



Relevant Pages

  • Re: How to retrieve a text string information
    ... Users can place any number of such text strings at will. ... May I tag ... The default aspect ratio is 1:1.. ... I do not use the Tk command "rescale" as it does not result in a canvas ...
    (comp.lang.tcl)
  • Re: "essentials" of music
    ... On Nov 24, 6:38 pm, Jack Campin - bogus address ... you still don't seem to have a clue that strings are ... "There is no such correlation of mass with frequency for idiophones, ... And the correlation was of the anvils having the same ratio as the ...
    (rec.music.theory)
  • Re: include tabdlg in an existing gui
    ... Here the help tabdlg listing: ... strings - cell array of the tab labels. ... If the default font is desired, ...
    (comp.soft-sys.matlab)
  • Re: DrawText with DT_WORDBREAK: DT_CALCRECT computes too small a height
    ... fail for some long strings. ... in my font, and some words in my text are wider than that so they ... through the list of the strings I'm printing, ... even if you're not familiar with the grid control, ...
    (microsoft.public.vc.mfc)
  • Re: universal unicode font for reportlab
    ... but these PDF documents will show mixed strings. ... Apparently pango is able to change fonts on the fly and render the requested glyph. ... I can develop my own flowable object for platypus: a special paragraph that changes the used true type font on the fly. ...
    (comp.lang.python)