I am using Bloom for a book using a Nastaliq script, and it generally does render the script correctly (where even Adobe products often fail!). However, I am finding that some of the characters at the right (and sometimes top) have portions cut off by the edge of the textbox, since they tend to “flourish” beyond the straight line. The only solution I know of for now is to add spaces manually at line breaks, which of course is not ideal. However, I don’t know of any way to allow the character to print beyond the border of the text box. Adding a very narrow (and empty) textbox at the right margin does not seem to fix it either - my conclusion is that it is the textbox cutting it off, not just the margin. Is putting multiple manual spaces at line breaks (and thus having to readjust those multiple spaces any time an edit changes line breaks) the only way around this issue in Bloom for now? Or is there a solution I am missing? I’ve seen other posts here about Nastaliq, so I wonder if other users have a way to work with this that is better than manual tweaks?
Hi Bethany,
As you might have heard, Nastaliq is the primary remaining script that isn’t handled well by the standard font-rendering system in web browsers (and thus Bloom). So it is not a surprise that you’re having difficulties.
Can you please create a page showing the problem, and then do a “Report a problem” and send us the book? That will help us see the issue directly. If you can stick a screenshot of how the text should look as the image on the page, all the better.
I don’t know if we’ll find anything helpful, but we’ll try!
I know a bit about Nastaliq, but little about Bloom.
Nastaliq font definitions tend to allow small parts of the glyphs cross the boundary into the “margin”, so that the main weight of the font feels like it’s on the margin line (in the same way that some punctuation is allowed to slightly cross the margin lines in some Latin script software). And the words can often extend higher vertically than the font defines as the baseline height.
Is there any way to create padding in Bloom, so that the margin of the text is slightly inside the display box? If so, that would solve the problem.
What do you mean by baseline height? You are correct, fonts have values that help define line height, and WSTech has made fonts for applications developers to test with about line spacing. For the very technical details on all of this you can read
We’ve worked this out with Bethany for now. In Bloom 6.0, there is most situations automatic padding that leaves room for these characters that extend out. But to be sure there is always room, we showed Bethany how to use CSS to add some padding relative to the font-size. She’s going to give that a try.
If there is sufficient demand, we could add a way in the user interface to adding padding for any text “style”.
Yes, thank you each for the input, and to the Bloom techs for the help. Padding was precisely what was needed for a good simple solution, and the combination of CSS and a 6.0 upgrade seems to allow each character to be fully visible.