Fontsize of help text...how to increase.

Add ons for the SuperCard Help System (.zip archives only please).

Fontsize of help text...how to increase.

Postby meitnik » Sat Nov 14, 2015 12:02 pm

Help! I am legally blind and discovered the Supercard help tool uses a tiny font size for its text. I really need it increased to at least 13 pt. And I notice its not doing any font smoothing at all so the italic text is extremely hard to read. Please someone help me. Is there a full 4.7 pdf language guide I can use instead??? HELP!

I am running a late 2015 iMac using 10.11.1.
meitnik
 
Posts: 2
Joined: Sat Nov 14, 2015 11:54 am

Re: Fontsize of help text...how to increase.

Postby Scott » Sun Nov 15, 2015 9:32 am

Welcome Andrew...

The Help System is a SuperCard standalone, so you could edit its project to increase the text size. You'd probably want to do this with a repeat loop that walks through everything, making the changes you want.

You can also click the Export icon in the Language Guide window to export the entire contents of the Language Guide to an rtf file.
User avatar
Scott
Site Admin
 
Posts: 1248
Joined: Sat Jul 05, 2008 1:37 pm
Location: Northern Sierra Nevada

Re: Fontsize of help text...how to increase.

Postby Dan_Kelleher » Sun Nov 15, 2015 11:53 am

Welcome Andrew...
You might also post a bug report about the problem that the lack of text size control presents for you.
There is a Bug Reports section on The Index Page of this SuperCard User Forum.

In a way this may not be a true "Bug"; there is no error in the code; it's a design issue.
So... you might present it as a request for a new feature in the next update of SuperCard.

Until then, in the short term, the easiest (but sub-optimal) solution is to generate a PDF where you can control text size.
Daniel.Kelleher@umassmed.edu
SC4.7.3 OSX 10.7.2 Mac Pro
User avatar
Dan_Kelleher
 
Posts: 438
Joined: Sun Jul 06, 2008 2:45 pm
Location: Worcester (wouster as in would) Massachusetts USA

Re: Fontsize of help text...how to increase.

Postby codegreen » Mon Nov 16, 2015 8:25 am

If you need a starter script to serve as a jumping-off point, try this:

Code: Select all
on resizit
  ask "Enter a new text size:" with 11
  if not isNumber(it) then exit script
  put it into newSize
  if the programs contains "SuperCard Help"
  then send "quit" to program "SuperCard Help" with "miscdosc"
  push cd
  put the sharedFile into thePath
  set the itemDel to ":"
  put "SC Help:SuperCard Help.app:Contents:Resources:main.sc45" into last item of thePath
  open inv wd id 100 of proj thePath
  if the short name of this wd ≠ "SuperTalk Language Guide" then exit script
  put "Processing, please wait..."
  lock messages
  set the cantModify of bg fld 3 to false
  set the cantModify of bg fld 4 to false
  repeat with i = 1 to the num of cds
    go cd i
    set the textSize of bg fld 3 to newSize
    set the textSize of bg fld 4 to newSize
  end repeat
  set the cantModify of bg fld 3 to true
  set the cantModify of bg fld 4 to true
  open inv wd id 283 of proj thePath
  repeat with i = 1 to the num of cds
    go cd i
    set the textSize of cd fld 1 to newSize
  end repeat
  pop cd
  close proj thePath
  put ""
  hide msg
  launch "SuperCard Help.app"
end resizit

HTH,
-Mark
codegreen
 
Posts: 1556
Joined: Mon Jul 14, 2008 11:03 pm


Return to SuperCard Help Projects

Who is online

Users browsing this forum: No registered users and 0 guests

cron