cxbrooks / test

Second test for bugzilla to git
0 stars 0 forks source link

Need a way to increase font size. #24

Open cxbrooks opened 18 years ago

cxbrooks commented 18 years ago

Note: the issue was created automatically with bugzilla2github tool

Original bug ID: BZ#24 From: @cxbrooks Reported version: 6.0-devel

cxbrooks commented 18 years ago

We need an easy way to increase font size for demos. Edward's way is to edit the style sheet and change the size. Perhaps we could have a way of changing style sheets on the run from a menu choice?

cxbrooks commented 17 years ago

Changing style sheets only changes the fonts in the html viewer.

With the graphical model display, the annotations are ptolemy/vergil/kernel/attributes/TextAttribute.java which extends AbstractTextAttribute in the same package. AbstractTextAttribute defines the textSize.

So, one possibility would be to change the textSize default value in AbstractTextAttribute.

Dan Higgins writes:

There is a way to scale an entire workflow for presentations and journals, and that is to use 'Print...' The workflow is drawn by Kepler using vector graphics, so it is drawn to the size of the printer. If you have Adobe Acrobat, you can 'Print' to a PDF file and set the native size of that PDF for something like a large poster format. Or just print a PDF to ordinary paper size; the workflow image is still scalable.

cxbrooks commented 17 years ago

Edward writes:

Making port labels bigger would not work without also increasing the spacing between ports... The port labels would overlap. Of course, increasing both font sizes and port spacing is just about equivalent to zooming, so I would zoom...

We could easily add a preference for font sizes for actor labels, but I'm skeptical that this alone would be of much help.

As has been pointed out already, if you have Adobe Acrobat, you can print to PDF. I do this all the time to include screen shots in Latex documents. In fact, in what is probably an indication of how far gone I am, I sometimes use Vergil as a basic drawing program to make figures for Latex documents, even if the figures have little to do with Ptolemy. The resulting PDF documents can be arbitrarily scaled without loss of resolution. Also, if you have Adobe Illustrator, then you can open these PDF files with Illustrator and edit them extensively...