Nothing Left Worth Reading

Discuss FontCreator here, please do not post support requests, feature requests, or bug reports!
Post Reply
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9873
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Nothing Left Worth Reading

Post by Bhikkhu Pesala »

Deleted
Last edited by Bhikkhu Pesala on Wed Feb 13, 2008 1:34 pm, edited 2 times in total.
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
William
Top Typographer
Top Typographer
Posts: 2038
Joined: Tue Sep 14, 2004 6:41 pm
Location: Worcestershire, England
Contact:

Re: Nothing Left to Take Away

Post by William »

Bhikkhu Pesala wrote:... One extra on-curve node between two off-curve nodes will do no harm, but it also does no help.
I find that a very interesting remark.

It is true, provided that the on-curve node is exactly halfway between two off-curve nodes.

My way of looking at the design of a contour is mathematical. I think in terms of the contour being made up of sections joined together. Each section is one of two types.

1. Two on-curve points with no other points between them.

2. Two on-curve points with one, and only one, off-curve point between them.

Any other sequence of on-curve and off-curve points is resolvable into two or more sections of the kinds mentioned above. This is by placing an on-curve point midway between each sequential pair of off-curve points.

For me, having the on-curve points included is important, because they show the start and finish of each section of the contour. Sometimes I only add on-curve points after I have placed off-curve points and observed the shape of the curve.

When a section of a contour has two on-curve points with an off-curve point between them, I like the idea that the section of contour starts at one on-curve point and at that point starts to move towards the off-curve point, then gradually changes direction so that when it reaches the second on-curve point, the direction of travel is as if it came from the off-curve point.

I was under the impression that having two off-curve points in sequence was almost an error situation, with the meaning of inserting an on-curve point midway between them is carried out by a font rendering system so as to put matters right prior to rendering.

However, following Bhikkhu Pesala's post and thinking about it, I suppose that adding an on-curve point between two off-curve points is not necessary and not doing so could make the font file smaller in terms of bytes.

I suppose that my thinking about font contours from a mathematical standpoint perhaps makes me regard the inclusion of an on-curve point between two off-curve points as desirable. However, maybe that is just a personal aesthetic choice because of my interest in mathematics.

William Overington

11 February 2008
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9873
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Nothing Left to Take Away

Post by Bhikkhu Pesala »

Deleted
Last edited by Bhikkhu Pesala on Wed Feb 13, 2008 10:27 am, edited 1 time in total.
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
William
Top Typographer
Top Typographer
Posts: 2038
Joined: Tue Sep 14, 2004 6:41 pm
Location: Worcestershire, England
Contact:

Re: Nothing Left to Take Away

Post by William »

Bhikkhu Pesala wrote: 1. OK for a straight line and
2. OK for a concave or convex curve, but what about an S curve?
An S curve would be two, or more, sections. For example, two sections each of type 2.
Bhikkhu Pesala wrote: If you make an S curve from two number 2 curved sections, one convex, one concave, how do you ensure that the join is smooth?
Delete the on-curve point that is in the middle and then add an on-curve point midway between the two off-curve points.
Bhikkhu Pesala wrote: Without the intervening on-curve point the change of direction is automatically smooth.
Yes. An on-curve point midway between two off-curve points makes no difference to the shape of the curve. I just like to have the point explicitly present in the contour.

William Overington

12 February 2008
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9873
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Post by Bhikkhu Pesala »

Deleted
Last edited by Bhikkhu Pesala on Wed Feb 13, 2008 10:29 am, edited 1 time in total.
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
William
Top Typographer
Top Typographer
Posts: 2038
Joined: Tue Sep 14, 2004 6:41 pm
Location: Worcestershire, England
Contact:

Post by William »

Bhikkhu Pesala wrote:A single off-curve node won't result in a perfect quadrant, and nor will two off-curve nodes, but it can be very close.
Indeed.

My first complete alphabet font was Quest text. The latest version is available from the following link.

http://www.users.globalnet.co.uk/~ngo/QUESTTXT.TTF

The lowercase e includes many features of the design of the font. I used a single off-curve point for the curved corners, with on-curve points 128 font units from the off-curve point.

A later font is Eutopian Architecture.

http://www.users.globalnet.co.uk/~ngo/EUTOARCH.TTF

Consider please the lowercase o.

Here I use two off-curve points in order to produce the curve of the quadrant.

I chose the positions of the off-curve points by calculation.

Consider please the upper left quadrant of the outer contour.

The desire is to make a curve approximating to a quadrant of a circle to go from (206, 640) to (896, 1330), where the centre of the circle is at (896, 640).

The radius of the circle can be calculated as 690 font units (=896 - 206).

Using the square root of 2 along the way, yet using only whole number final results, the on-curve point can be calculated to be at (408, 1128).

The tangent line through that point is at 45 degrees to the horizontal and the two off-curve points are where the tangent line meets the vertical and horizontal bounding lines of the circle. The quadrant of the circle is approximated by two sections of contour. The whole circle is approximated by eight sections of contour.

William Overington

12 February 2008
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9873
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Post by Bhikkhu Pesala »

Deleted
Last edited by Bhikkhu Pesala on Wed Feb 13, 2008 10:30 am, edited 1 time in total.
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
Dave Crosby
Typographer
Typographer
Posts: 793
Joined: Mon Feb 23, 2004 1:13 pm
Location: Enoch, Utah

Great Teaching images!

Post by Dave Crosby »

Thanks Bhikkhu Pesala, the above image posted Tue Feb 12, 2008 3:34 am should be made part of the manual!

I hope Erwin is able to implement a button to convert a glyph into a background image so we can be sure to maintain the original shape while removing all those unnecessary points.

As you mentioned, removing them makes future adjustments far easier and simpler.

Removing them also makes the font file much smaller.

As fast as computers are, removing them also eases the job of the rasterizer for both monitor and printer.

As Einstein once remarked,
"Make things as simple as possible, but not simpler."
Aut nunc aut nunquam
William
Top Typographer
Top Typographer
Posts: 2038
Joined: Tue Sep 14, 2004 6:41 pm
Location: Worcestershire, England
Contact:

Post by William »

Bhikkhu Pesala wrote: Too much knowledge is often a hindrance.
I feel that knowledge is important and enabling.
Bhikkhu Pesala wrote: Just drag the circle off the Drawing toolbar to get a near perfect circle. I often use this to replace a fullstop or other circular contour that is mishapen. You don't always want perfect geometric shapes, but that is often a good place to start from.
It is interesting that the circle which can be inserted from the Drawing toolbar does indeed place the off-curve points as I outlined when I mentioned the off-curve points in the lowercase o of my Eutopian Architecture font. The 83 font unit rise in a 200 font unit high quadrant is indeed related to the square root of 2.

The Samples toolbar provides five glyphs which each contain one or more circles. Some of those circles are produced using eight off-curve points to each circle and some are produced using twelve off-curve points to each circle. One glyph contains examples of both types.

William Overington

12 February 2008
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9873
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Great Teaching images!

Post by Bhikkhu Pesala »

Dave Crosby wrote:Thanks Bhikkhu Pesala, the above image posted Tue Feb 12, 2008 3:34 am should be made part of the manual!
Thanks Dave. I think you're probably right. The manual could use some practical tips like this. For now, I have added it to my Smooth Curves tutorial.
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 9873
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Post by Bhikkhu Pesala »

Deleted
Last edited by Bhikkhu Pesala on Wed Feb 13, 2008 10:30 am, edited 1 time in total.
My FontsReviews: MainTypeFont CreatorHelpFC15 + MT12.0 @ Win 10 64-bit build 19045.2486
William
Top Typographer
Top Typographer
Posts: 2038
Joined: Tue Sep 14, 2004 6:41 pm
Location: Worcestershire, England
Contact:

Post by William »

Bhikkhu Pesala wrote:Only if one knows when it is applicable and when to put it aside. If we were trying to write an algorithm to automatically make smooth curves, a knowledge of mathematics would be essential. However, we're not. We are just trying to get the best results out of editing curves with FontCreator by moving nodes about.
Well, I did use mathematics to calculate the places to put the off-curve nodes when I was trying to produce an approximation to a circle when designing the lowercase o in the Eutopian Architecture font. The calculation was essentially done by hand, though using Microsoft Calculator in View Scientific mode to carry out the parts of the calculation.

Some readers might like a copy of part of my transcript file from when I produced the disc glyph in the Stardisc font. I wanted a disc which had a radius of 1024 font units, centred on (1024, 1024).

----

For the disc, the offset of the off-curve point is 1024 * (root2 - 1)
root2 is 1.4142135623730950488016887242097
root2 - 1 is 0.4142135623730950488016887242097
1024 * (root2 - 1) is 424.15468787004932997292925359073, so use 424

1024 - 424 is 600
1024 + 424 is 1448

----

The font is available as follows.

http://www.users.globalnet.co.uk/~ngo/STARDISC.TTF

The Stardisc font has its own thread in the Gallery Forum of this webspace.

viewtopic.php?t=1717

In that thread I wrote as follows.
I calculated the points for the star, using the idea that the star is inscribed within a construction circle such that the top point of the star is at 2048 font units vertically and that the two lowest points of the star are at 0 font units vertically.
I appreciate that font designing is a mixture of the mathematical placement of points and the artistic placement of points and that various people have various views about using mathematics when designing fonts. I am simply mentioning that I have found mathematics to be useful in designing individual glyphs.

William Overington

13 February 2008
Post Reply