first character

Get help with FontCreator here. Please do not post feature requests or bug reports here.
Post Reply
civil
Posts: 7
Joined: Tue Apr 15, 2008 1:59 pm
Location: Turkey

first character

Post by civil »

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.
Dave Crosby
Typographer
Typographer
Posts: 793
Joined: Mon Feb 23, 2004 1:13 pm
Location: Enoch, Utah

Bearings

Post by Dave Crosby »

I want to ignore first character's left bearing and last character's right bearing in the word. How can I do it?
I'm not sure what you mean.

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
civil
Posts: 7
Joined: Tue Apr 15, 2008 1:59 pm
Location: Turkey

Post by civil »

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?
Erwin Denissen
Moderator
Moderator
Posts: 11160
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Post by Erwin Denissen »

I doubt if it's worthwhile, but it might be possible with OpenType layout features. And even then it will only work when your word processing software supports those features.
Erwin Denissen
High-Logic
Proven Font Technology
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9878
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Post by Bhikkhu Pesala »

It may be possible to use kerning pairs for this.

You can make a kerning pair for [space] P too if required, but probably a waste of time. Use manual kerning in your application.
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
civil
Posts: 7
Joined: Tue Apr 15, 2008 1:59 pm
Location: Turkey

Post by civil »

Thanks for reply but I think there is a simpiler way. It is necessary everywhere. Program must solve this problem easily with a little "if clause"
William
Top Typographer
Top Typographer
Posts: 2038
Joined: Tue Sep 14, 2004 6:41 pm
Location: Worcestershire, England
Contact:

Post by William »

Could you possibly say why you are trying to achieve this end result please? For example, is it something to do with fitting the text into a box?

William Overington

16 April 2008
Erwin Denissen
Moderator
Moderator
Posts: 11160
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Post by Erwin Denissen »

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.
Erwin Denissen
High-Logic
Proven Font Technology
civil
Posts: 7
Joined: Tue Apr 15, 2008 1:59 pm
Location: Turkey

Post by civil »

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.


Image
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9878
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Post by Bhikkhu Pesala »

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.
Nallihan.png
Nallihan.png (10.19 KiB) Viewed 9573 times
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
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
civil
Posts: 7
Joined: Tue Apr 15, 2008 1:59 pm
Location: Turkey

Post by civil »

Thanks a lot. It is exactly what I said. I will investigate my program can do it or not.
William
Top Typographer
Top Typographer
Posts: 2038
Joined: Tue Sep 14, 2004 6:41 pm
Location: Worcestershire, England
Contact:

Post by William »

civil wrote:... I made a new font to use on it. ...
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.

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
civil
Posts: 7
Joined: Tue Apr 15, 2008 1:59 pm
Location: Turkey

Post by civil »

Quest Signs Experiment cant solve this problem. Because every glyphs has different bearings.

i finally solved my problem by exploding the word into graphichal interface of Microstation. Thanks a lot for your patience.
Dick Pape
Top Typographer
Top Typographer
Posts: 1360
Joined: Wed Oct 01, 2003 1:19 pm
Location: North Dallas, Texas

Fake It Maybe

Post by Dick Pape »

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.
civil
Posts: 7
Joined: Tue Apr 15, 2008 1:59 pm
Location: Turkey

Post by civil »

Image

The distance between each letter are known as you see above. If I remove the bearings and insert a small space the differce will be constant so font will not be usefull.
Post Reply