first character
first character
Hi,
I want to ignore first character's left bearing and last character's right bearing in the word. How can I do it? Thanks a lot.
I want to ignore first character's left bearing and last character's right bearing in the word. How can I do it? Thanks a lot.
-
- Typographer
- Posts: 793
- Joined: Mon Feb 23, 2004 1:13 pm
- Location: Enoch, Utah
Bearings
I'm not sure what you mean.I want to ignore first character's left bearing and last character's right bearing in the word. How can I do it?
The Bearings tell the computer where to start and end the bitmap it makes from your glyph.
Changing the Bearing locations will increase whitespace or cause overlap on whatever character is printed next.
To see immediate changes add Comparison to what you are seeing in the edit window and type whatever characters you wish to see before and after the glyph you are working on.
View > Toolbars > Comparison.
Aut nunc aut nunquam
For example we wrote "Pencil"
Char. Left Bearing Body Right Bearing Total Dimensions
P 42 120 18 180
e 27 108 24 159
n 36 108 36 180
c 27 96 24 147
i 36 24 36 96
l 36 24 36 96
A 15 150 15 180
and totally dimension of "pencil" is equal to 180+159+180+147+96+96=858 but I want to ignore "P"s left bearing and "l"s right bearing. So total dimension must be 858-36-42=780.
For "Apple" dimension must be 180+180+180+96+96+159-15-15=861.
I hope I can explain, what do I mean?
Char. Left Bearing Body Right Bearing Total Dimensions
P 42 120 18 180
e 27 108 24 159
n 36 108 36 180
c 27 96 24 147
i 36 24 36 96
l 36 24 36 96
A 15 150 15 180
and totally dimension of "pencil" is equal to 180+159+180+147+96+96=858 but I want to ignore "P"s left bearing and "l"s right bearing. So total dimension must be 858-36-42=780.
For "Apple" dimension must be 180+180+180+96+96+159-15-15=861.
I hope I can explain, what do I mean?
-
- Moderator
- Posts: 11160
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
-
- Top Typographer
- Posts: 9878
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
-
- Moderator
- Posts: 11160
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
I don't think Microsoft is willing to make your requested changes to their rasterizer, unless they see a real benefit. So please explain what you want to accomplish.
It might be easier to download and modify the FreeType font engine.
It might be easier to download and modify the FreeType font engine.
I'm a civil engineer and I design traffic projects. In traffic posts, there is a city name and way. I made a new font to use on it. I have to give dimensions of city names but when I snapped on the name of the city in Microstation (it is a program which like AutoCAD) it kept with first character with its space. So I can't measure correct dimensions. You can see sample below.
-
- Top Typographer
- Posts: 9878
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
It is up to your layout program to do this.
In PagePlus (I used PP9) one could simply convert the text to curves and the word will then have no left and right side-bearings.
The top word is artistic text, the bottom word has been converted to curves.
Notice the difference in the sizes of the selection bounding boxes.
Perhaps your program can do the same, but this is not something that a font could do easily, whereas a DTP program makes this task very simple. DrawPlus would be more suitable if you need dimension lines, but just for graphic design and layout,
PagePlus is excellent. PP9 is just £9.99
In PagePlus (I used PP9) one could simply convert the text to curves and the word will then have no left and right side-bearings.
The top word is artistic text, the bottom word has been converted to curves.
Notice the difference in the sizes of the selection bounding boxes.
Perhaps your program can do the same, but this is not something that a font could do easily, whereas a DTP program makes this task very simple. DrawPlus would be more suitable if you need dimension lines, but just for graphic design and layout,
PagePlus is excellent. PP9 is just £9.99
-
- Top Typographer
- Posts: 2038
- Joined: Tue Sep 14, 2004 6:41 pm
- Location: Worcestershire, England
- Contact:
As you are making your own special font, I have thought of a possible way to get the desired effect. I have made a test font and uploaded it to the web.civil wrote:... I made a new font to use on it. ...
If the test font works as you wish, then you could use the method with your own font and hopefully achieve your desired result.
The link to the test font is as follows.
http://www.users.globalnet.co.uk/~ngo/QUESTSIG.TTF
The font is named as follows.
Quest Signs Experiment
I started with a copy of my own Quest text font.
http://www.users.globalnet.co.uk/~ngo/QUESTTXT.TTF
I deleted most of the glyphs, so as to produce a small font for the experiment.
I then used Tools Autometrics... in FontCreator and put 0 font units at each side of each character.
I then deleted the contours of the = character and made it have a width of 256 font units. That is, it acts as a space between characters.
I then tested the font using the following text.
M=a=i=n=z
So, could you perhaps try the Quest Signs Experiment font in the Microstation program please and post a message about how it performs please?
I hope that this helps.
William Overington
16 April 2008
-
- Top Typographer
- Posts: 1360
- Joined: Wed Oct 01, 2003 1:19 pm
- Location: North Dallas, Texas
Fake It Maybe
Since you've got something that works, I wonder if you can fake it by removing the left and right side bearings on all glyphs and then create a small "space" e.g., filler, which you insert between each letter such as A.B.C.E for instance.
In the end there is no white space before or after any letter except when you place it there.
In the end there is no white space before or after any letter except when you place it there.