[brailleblaster] Re: Discrepancy in translation with UTD

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Sun, 27 May 2012 12:36:08 -0500

Here is a more detailed explanation of the discrepancy. It may be 
instructive and even useful.

UTD is a graphical mode. It is based on a resolution of 20 dpi at 
present, although the user may be able to specify the resolution in the 
future. It also operates on full pages, so braillePages is set to yes . 
Because it deals with pages, it requires that the paper width, paper 
height and margins must be specified. If you look at a recent 
preferences.cfg you will see these specifications. Braille is monospaced 
horizontally. The wieth of a braille cell is 5 pixels. Horizontal 
spacing varies according to whether the braille cells in a line have 6 
or 8 dots. If a line contains only 6-dot cells the horizontal spacing is 
8. If it contains even one 8-dot cell the horizontal spacing is 10. 

When utd is specified the cellsperline and linesperpage settings are 
ignored. and the paper size and margin information is used. You can get 
the number of cells and lines you want by calculating the paper size and 
margins.

The settings dialogue will eventually allow you to chose this 
information, as will embosser setup.

John

On Sat, May 26, 2012 at 09:24:11AM -0400, Vic Beckley wrote:
> John,
> 
> I don't know if you realize this or if it is significant at this point in
> development but when you translate a file in UTD mode it doesn't honor the
> PageLength and PageWidth settings. For example, with the book that I have
> been testing with, when I translate it not using UTD mode it is 449 pages.
> When I translate it using UTD mode it turns out to be 625 pages. I have my
> PageLength set to 26 and Pagewidth set to 42 as opposed to the 25 and 32
> defaults.
> 
> 
> Best regards from Ohio, U.S.A.,
> 
> Vic
> E-mail: vic.beckley3@xxxxxxxxx
> 
> 

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities


Other related posts: