Position Adjustment in Italic/oblique/slanted Styles
Another subtle adjustment that is most often forgotten in renderers, is controlling the direction of movement for superscripts and subscripts, when they don't lie on the baseline. It should notably take into account the current font's style for italics, notably its slanting direction; most renderers only adjust the position vertically, and forget to shift it horizontally as well. This creates collision with surrounding letters in the same italic size. One can see an example of such collision on the right side when rendered in HTML. To avoid such problem, it is often necessary to insert a small positive horizontal margin (or a thin space) (on the left side of the first the superscript character), or a negative margin (or a tiny backspace) before the subscript. It is more critical with glyphs from fonts in "Oblique" styles that are more slanted than those from fonts in Italic style, and some fonts reverse the direction of slanting, so there's no general solution except when the renderer takes into account the font metrics properties that provides the angle of slanting,
But more generally, the same problem occurs as well between spans of normal glyphs (non-subperscript and non-subscripts) when slanting styles are mixed.
Read more about this topic: Subscript And Superscript
Famous quotes containing the words position, adjustment, oblique, slanted and/or styles:
“Because it is not always easy for an adult to predict what inaccurate ideas a child may have, it can help to answer questions first with one of your own: What do you think? Once you find out what a child is really asking, youll be in a better position to give a helpful answer based on the facts.”
—Joanna Cole (20th century)
“You have many choices. You can choose forgiveness over revenge, joy over despair. You can choose action over apathy.... You hold the key to how well you make the emotional adjustment to your divorce and consequently how well your children will adapt.”
—Stephanie Marston (20th century)
“Street lamps come out, and lean at corners, awry,
Casting black shadows, oblique and intense....”
—Philip Larkin (19221986)
“They all came, some wore sentiments
Emblazoned on T-shirts, proclaiming the lateness
Of the hour, and indeed the sun slanted its rays
Through branches of Norfolk Island pine as though
Politely clearing its throat....”
—John Ashbery (b. 1927)
“Can we love our children when they are homely, awkward, unkempt, flaunting the styles and friendships we dont approve of, when they fail to be the best, the brightest, the most accomplished at school or even at home? Can we be there when their world has fallen apart and only we can restore their faith and confidence in life?”
—Neil Kurshan (20th century)