Scribusoid

Author Topic: how create text frame with Font Ascent?  (Read 4057 times)

leaf

  • Jr. Member
  • **
  • Posts: 88
  • Karma: 0
  • Scribus User
how create text frame with Font Ascent?
« on: August 06, 2013, 11:40:29 am »
How create text frames with set Font Ascent?

I found this script but I don't know how set Font Ascent.

........
            A = scribus.createText(60, 100, 200, 100)
            scribus.setText(add, A)
            scribus.setTextAlignment(scribus.ALIGN_LEFT, A)
            scribus.setFont("Luxi Sans Regular", A)
            scribus.setFontSize(12, A)
            add = ''
            page = page + 1

and second question
What should be the script which can find all text frames on pages and set Font Ascent for them?
« Last Edit: August 06, 2013, 12:10:20 pm by leaf »

 

palmate