support: Customer Portal
Focused on delivering choice, investment protection and flexibility to organizations with valuable COBOL assets
 

Veryant Knowledge Base
Home > All Categories > Transitioning to isCOBOL > Acucobol-GT > How do I get my screens to be the same size and spacing as when I run with ACUCOBOL?
Question Title How do I get my screens to be the same size and spacing as when I run with ACUCOBOL?

When I run with isCOBOL my Windows are larger and entry-fields are taller than when I run with ACUCOBOL. Also, some of my controls overlap each other where they did not before.

What can I do to get isCOBOL to match the size and spacing that I had before?

Answer:

The reason for the difference is that isCOBOL uses Java Swing for the GUI and Java Swing uses True Type fonts. To match the ACUCOBOL appearance you must find True Type fonts whose dimensions match those of the system fonts that ACUCOBOL uses by default. Or you can explicitly tell isCOBOL the number of pixels to use for the width and height of a cell.

We have found the following to work the best on Windows:

   iscobol.font.default=Microsoft Sans Serif-Bold-08
   iscobol.font.medium=Microsoft Sans Serif-Bold-08
   iscobol.font.large=Microsoft Sans Serif-Bold-10
   iscobol.font.small=Microsoft Sans Serif-08
You may also need the following:
   iscobol.font.traditional=Fixedsys Excelsior 2.00-11
   iscobol.font.fixed=Fixedsys Excelsior 2.00-11
The "Fixedsys Excelsior 2.00-11" font is supplied in iscobol/samples/issamples/files/fsex2p00_public.ttf

You can install it from the Control Panel.

Or you can set the following properties to force the cell size to be 8 pixels wide by 15 pixels high which works for most cases:
   iscobol.font.traditional.cell=8,15
   iscobol.font.fixed.cell=8,15

Authored by: Veryant Support This question has been viewed 10352 times so far.
Click Here to View all the questions in Acucobol-GT category.
File Attachments File Attachments
There are no attachment file(s) related to this question.
How helpful was this article to you?
User Comments User Comments Add Comment
There are no user comments for this question. Be the first to post a comment. Click Here
Related Questions Related Questions
  1. How do I set up isCOBOL to access Vision files?
  2. What ACUCOBOL-GT library routines are supported?
  3. How do I print to a spooler in Unix?
  4. Is there a way to have single set of source code that will compile with both ACUCOBOL and isCOBOL?
  5. Does isCOBOL have a utility to migrate Vision files to MS-SQL and PostgreSQL ?
  6. What compile options should I use for a program written for Acucobol-GT?
  7. What is the easiest way to convert the ACUCOBOL-GT configuration file?
Article Information Additional Information
Article Number: 10
Created: 2009-08-28 12:54 PM
Rating: No Rating
 
Article Options Article Options
Print Question Print this Question
Email Question Email Question to Friend
Export to Adobe PDF Export to PDF File
Export to MS Word Export to MS Word
Bookmark Article
Subscribe to Article Subscribe to Article
 
Search Knowledge Base Search Knowledge Base



 
 

© Veryant - All Rights Reserved
Veryant and isCOBOL are trademarks or registered marks of Veryant in the United States and other countries. All other marks are the property of their respective owners.