|
From: Mauro S. <mau...@gm...> - 2019-04-03 21:21:29
|
Precise better. I used my font to show the current situation, another font to show the type of alignment I wanted to produce. I'm sorry if the two images have generated confusion. By default my font uses old style numbers even in superscript. I want to create superior number lining instead. I have generated both letters and numbers with the Element -- Style function, and for numbers I used tnum (uppercase) as the source. The superior numbers so generated are much higher than the glyphs of the letters as "x" etc. Therefore my intention is to establish for these numbers in superscript the same height as the lowercase letters "x" and of course align the baseline of these numbers to the letters. So: if I want a glyph of a certain height to be scaled to be equal to one of different height, what kind of accounts should I do? thank you! Il 03/04/19 23:02, Gé van Gasteren ha scritto: > Look inside the font if it doesn’t have "old-style numerals" already > included. > Simply scaling the "new-style" digits you show in your picture "test01" > will not give a proper result. > In your pictures, you can already see that the 1 and 2 in "test01" are > very different from the digits in "test02". > > Also please be aware, that old-style numerals are not all aligned at the > baseline – see the picture here: > https://en.wikipedia.org/wiki/Text_figures > > So maybe what you really want to do is to scale new-style digits > reliably, after all? > That can be done by scaling one digit, e.g. a 5, and pasting it in the > background of the other superscript digits as a reference. > Of course, it can also be done – and more accurately – by numbers: > scaling each of the digits x % and moving them up y units, but that may > be too complicated at the moment. > > On Wed, Apr 3, 2019 at 4:04 PM Mauro Sacchetto > <mau...@gm... <mailto:mau...@gm...>> wrote: > > > I have to create superscript numbers drawing them > from the tabular numbers so that they correspond to the small letters > in vertical dimension and that they are aligned at the baseline > of these.I therefore start from this situation: > https://www.dropbox.com/s/uvuote7m81dk1jc/test01.png?dl=0 > and should instead obtain this result: > https://www.dropbox.com/s/tvz6r6f11n0d4e3/test02.png?dl=0 > How can I scale them exactly to the desired height and then align them? > Is it a very long way? Thank you! > |