Regarding the support problem as at early on 22 October 2008 in the following thread.
http://forum.high-logic.com:9080/t/font-size-and-grid-calculation/246/1
I have been trying to produce a test font and have produced some notes as I proceeded.
I wonder if some other readers would have a look through what I have produced please. I am thinking in terms of suggesting to the gentleman with the support question that he try downloading my font and printing out the sequence HHHHH at 18 point and finding out if it works as expected. However, I feel that I would like it critically reviewed by some other readers first. Does anyone have a 200 dot per inch printer and a rule so as to test it please?
I can happily make the font public domain then anyone who chooses can add some more letters or alter the font.
Yet first I need to know that I am not sending him off on a wild goose chase.
The question mentions product labelling and I named my font FONT VEG as I imagined a vegetable packing application!
The font is available as follows. There is only space, nonmarkingreturn and H done at present.
http://www.users.globalnet.co.uk/~ngo/FONTV001.TTF
Transcript of my notes follows.
William Overington
22 October 2008
Wednesday 22 October 2008
08:01 am
Suppose that the font is to be used at 18 point on a Windows system.
Suppose that the font is to have WinAscent at 2048 font units and WinDescent at 0 font units.
18 point is 1/4 of an inch and one inch is 25.4 mm.
Used at 18 point, this font will have 25.4/4 which is 6.35 mm represented by 2048 font units.
So 1 mm is represented by 2048/6.35 font units which is 322.51968503937007874015748031496 font units.
Only whole numbers of font units may be used, but keep the decimal until the final calculation has been completed.
So 4 mm is represented by 4*322.51968503937007874015748031496 font units, which is 1290.0787401574803149606299212598 font units.
So round that to 1290 font units and use 1290 font units as the Caps Height of the font.
So 3 mm is represented by 3*322.51968503937007874015748031496 font units, which is 967.5590551181102362204724409447 font units. Round this to 968 font units.
So 4.5 mm, the overall width of a glyph, is represented by 4.5*322.51968503937007874015748031496 font units, which is 1451.3385826771653543307086614171 font units. Round this to 1451 font units. This is the Advance Width of most glyphs (some might be narrower).
Start a new Unicode font FONT VEG 001 using FontCreator 5.6 with no outlines included.
Save as FONTV001.TTF.
Use Tools AutoNaming… to set the name as FONT VEG 001.
Save.
Use Format Settings… Metrics to set the metrics at 2048, 0, 0.
Save.
Right click on the space. Right click on Properties… and then on the General panel, set the Advance Width to 1451. Click on OK.
Right click on the nonmarkingreturn, which is located one cell to the left of the space. Right click on Properties… and then on the General panel, set the Advance Width to 1451. Click on OK.
Save.
Right click on the H. Right click on Properties… and then on the General panel, set the Advance Width to 1451. Click on OK.
Save
Click on the H and press Enter on the keyboard.
Cap Height will not be correct at present as the H has not yet been drawn and the Caps Height line goes to where the top of the glyph design for H is located.
The next stage is to draw a glyph for capital H.
In this font, this is intended to be done by drawing a rough H using Insert Contour… and, starting at the top left corner of the H, left click and move generally clockwise to draw 12 points in the outline of a capital H without any overlapping of lines and then click on the first point so as to close the contour.
Save.
Click the Fill Outines button on the toolbar once or twice as necessary so as to show the contour filled (to check that it has been closed) and then unfilled. Leave it unfilled so as to facilitate moving points around more clearly.
Now use View Mode Point.
The task now is to move the twelve points, one by one, so that the outline of the H becomes accurately as desired, at the correct size and at the correct place.
Where to place the glyph.
As 1.5 mm is needed between characters, try to put 0.75 mm each side with the H centred in the middle.
Remembering that 1 mm is represented in this font by 2048/6.35 font units which is 322.51968503937007874015748031496 font units, 0.75 mm is represented by 241.88976377952755905511811023618 font units, so use 242 font units.
So, start the left side of the H at 242 font units horizontally and complete it at 1210 font units, which is not the 1209 that 1451 - 242 produces, as I want the centre of the H to be a whole number without rounding.
So, remembering that the Caps Height is to be 1290, the four outer points of the H can be set at (242, 1290), (242, 0), (1210, 1290) and (1210, 0).
The placing of the four inner points of the ends of the verticals needs a decision as to how wide to make the verticals of the glyph design.
The overall width of the printing part of the H is 968 font units (that is, 1210 - 242).
The font needs to be able to have characters such as M and W each with a centre part, and there needs to be white space around a centre part, so the width really needs to be no more than 968/5 font units, which is 193.6 font units.
At 18 point, with 200 dots per inch resolution, there are 50 dots to 2048 font units, so each dot is 40.96 font units. So the line needs to be at least about 80 font units wide so as to get at least one dot printed regardless of how the system chooses to select how to place the dots with respect to the design of the letter.
Dividing 968 by 7 gives a value of 138.28571428571428571428571428571 font units.
Try 160 font units for the width of the verticals. That should hopefully give reasonably bold lines whilst not being too lacking in white space.
So the four inner ends of the verticals points of the H can be set at (402, 1290), (402, 0), (1050, 1290) and (1050, 0).
There remain four points to locate accurately. Their horizontal coordinates are known as they are on the inner verticals.
The width of the horizontal bar is to be 160 font units.
Half of the Caps Height is 645 font units, so, if it were in the middle vertically, the horizontal bar would go from 565 vertically to 725 vertically. Place it there for this test font.
Use Font Test… with a row of H characters typed in the test window to test the font.
Save the font.
Font Validate.
Install.
Test using WordPad.
Upload to the web.
09:16 am
Test the font at 18 point using Paint.
Enlarge x8 to view the pixel effect.
Test the font at 36 point using Paint, hoping that that simulates 200 dots per inch printing at 18 point.
Enlarge x8 to view the pixel effect.
09:24 am