Thomas DeWeese wrote:
Vladimir Bulatov wrote:
I assume by 'low resolution raster' you mean the font you have is a '20 dpi' raster font so a braille dot is just one pixel correct?
Low resolution means, that our special printer, which prints embossed graphics and text prints at resolution 20 dpi. At this resolution human finges tips can not distinguish dot from dot. Braille text dots are spaced at 10 dpi. This 20 dpi resolution looks pretty low visually, but blind users are quite happy with it. Our technology used for tactile printing doesn't allow higher resolution printing. Mostly because of physical properties of the paper, which will tear if dots will be embossed (punched) closer to each other. In reality, that low resolution output creates some troubles for Graphics2D rasterizer. It render images with some lines missing.
It looks like this is the place to change text renderer implementation. But this method is not used anywhere in Batik and I am wondering what was the initial intent to have this method.
So people could change the text rendering implementation :)
It is encouraging news :)
FOP does/did this so it could generate 'cleaner' text for PDF. You might want to look at what they did (http://xml.apache.org/fop) I think the code of interest would be in the org.apache.fop.pdf package.
Thanks for the link.
So a user stylesheet like:
@media braille { text { font-family: SVGBraille !important; font-size: 30 !important }
tspan { font-family: SVGBraille !important; font-size: 30 !important }
tref { font-family: SVGBraille !important; font-size: 30 !important }
}
Would pretty much ensure that all text was drawn with the SVGBraille font at
a size of 30 (in the local coordinate system - which may not always be what you
want) when the document is displayed on a 'braille' "media". In the Squiggle
preferences you can set what the output media type is and provide a user style sheet.
Similarly the svgrasterizer allows you to specify the media and user style sheet to use.
Thanks for this idea. I now have something to play with before new questions will appear.
All the best, Vladimir
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]