[liblouis-liblouisxml] Re: Implementing svg graphics

  • From: "Theodor Loots" <theo.loots@xxxxxxxxx>
  • To: <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Thu, 26 Feb 2009 08:11:19 +0200

Hi John,

Concerning your first question:  It seems that are slight differences on
this depending on the language and corresponding Braille code.  I have seen
such a table once, but can unfortunately not remember where.  But perhaps
this might help:
"Normal" Braille standards define the dot spacing within a Braille cell to
be between 2.3 and 2.5 mm, the cell to cell spacing to be 6.0 to 6.2 mm and
the dot height to be 0.25 to 0.53 mm."
(Gardner, J.A., 2005, Braille, Innovations, and Over-Specified Standards,
Proceedings of the 2005 GOTHI (Guidelines on Tactile and Hap tic
Interactions) conference, University of Saskatoon, October 24-26, 2005.)

As a statistician that occasionally find myself doing work in music, I'm
looking forward to the the translation of musicxml files!!

All the best,
t




-----Original Message-----
From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of John J.
Boyer
Sent: 26 February 2009 07:59 AM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Implementing svg graphics

As many of you know, liblouisxml already contains skeleton modules for 
transcribing SVG graphics, chemistry and music. I think it is now time 
to start fleshing out these skeletons. The most important is probably 
svg, since it will enable liblouisxml to produce math texts with graphs 
and charts. It will also be useful in portraying structural formulas in 
chemistry and samples of print musical notation.  

Here are some ideas on how graphics might be represented in liblouisxml
files. Since the six-dot braille cell is of a standard size, the present
cellsPerLine and linesPerPage configuration settings can be used to
determine the printable area available for graphics. Margins can be
handled by the drivers for individual devices. These drivers will
receive liblouisxml output either as files or through a pipe.  Wdpi
liblouisxml will have a standard resolution, say 20 DPI and 4 levels of
intensity. The drivers can convert this if necessary. Graphics will be
encoded using the 64 characters from hex 21 through hex 60. The
corresponding characters will be grouped into segments of length
cellsPerLine, with each segment followed by end-of-line characters. Thus
devices for which no drivers are abailable will print garbage instead of
running off the end of lines. Graphics will be indicated by a special
character sequence at the beginning.

Of course, print labels inside graphics will have to be translated to 
braille. Just how this wil be done is not clear at rthe moment. The 
braille dots will of course be part of the graphic.

Questions:

1. What is the size, both in centimeters and inches, of the standard 
6-dot 
braille cell, including the spacing between cells and between lines?

2. What Open Source svg renderers are written inC, use libxml1 and might 
be adaptable to liblouisxml?

Thanks,
John

-- 
My websites:
http://www.godtouches.org
http://www.jjb-software.com
Location: Madison, WI, USA

For a description of the software and to download it go to
http://www.jjb-software.com
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.237 / Virus Database: 270.11.3/1970 - Release Date: 02/25/09
06:40:00

For a description of the software and to download it go to
http://www.jjb-software.com

Other related posts: