Font created by FC4.1 does not work on all systems..

Hi all. I modified a font called “Free 3of9 Extended Regular” using FC4.1

The original font was created by a third party, and I downloaded it for use in a VB program. I found that the font was unsuitable, as it was too high, and caused the line spacing to go awry, on a report the barcode was used in, so i used FC4.1 to scale the height of each glyph to 50% (and what a long job that was..). I saved the file, but found that the characters still came through as the set height, as though the bounds for characters were set elsewhere.

After many hours of looking (you could do with being able to drag the ascender marker in the edit pane..) i found the Ascender option, that appeared to relate to character height. I modified all the Ascender values i could find, to half of what they were previously, and saved the file.

The resulting file worked great on my reports, and in windows font viewer, so i released the tool that uses the new Half 3of9 Extended Regular.
Alas, my users could not use this particular font, and said that attempting to use the report gave them a “general error”

Upon investigation, i formatted and set up a machine identical to a user system (our users use machines that we preinstall). Viewing my font on these machines, in windows font viewer, causes a blank to be displayed.. there is something wrong with the font, yet it displays perfectly on my machine (that it was developed on).

I shall post a zip archive containing:

fre3of9x.ttf - the original inspiration
half3of9.ttf - my 50% scaled version
client.bmp - the screenshot i see ona client machine (i.e. showing incorrectly)
mymach.bmp - screenshot of the windows font viewer from my machine

Could anyone help me in determining what I or FC4.1 has/hasnt done with the file? Im new to font editing, so it could be that the fault is entirely my own, but if it’s a bug in FC4.1 then this thread could be moved to the relevant forum.

Alternately, if anyone is capable (in approx 30 seconds) of resizing Fre3of9x.ttf to 50% of its current vertical height, i’d be very grateful. Feel free to include your name in the font, and email it to me, using matt att lexpos dott com as the email address, so that I can credit your work in the tool’s about box.. Please, dont spend a long time on doing this though (literally, i’m comfortable with asking other to do a thing for me only if it doesnt eat up too much of your working day)

regards
Matt
www.lexpos.com

the file will be placed at:

http://www.lexpos.com/pers/matt/font/problem.zip

in approximately 5 minutes

file uploaded and link tested ok..

note: my machine is as up-to-date as a windows xp machine can get, in terms of service packs etc, lah.. the client machines are probably still on Win XP service pack 0 or maybe sp1 at the best. If there were any updates that changed the font handling abilities, please let me know, so i can advise the clients what to install (bear in mind that these systems are nearly 100% modem.. :slight_smile: )

Maybe this slightly modified version helps.
http://forum.high-logic.com/postedfiles/HALF39EX_HL_2.TTF

it works perfectly.. many thanks Erwin.

Out of curiousity, what was the problem? (looking at the options in FC, the only significant things i can find are the smallest size = 7, not 0, and the “include postscript names” is ticked (with names put in))
would this make all the difference? I did wonder why there didnt appear to be any sort of info as to what glyph was what, in the main screen.. but the odd thing.. the original font doesnt have the postscript names either, yet it works.. perhaps i’ve missed something more significant?)

correction.. it appears to have stopped working (it worked one time, im sure, because i downloaded it straight off this site, and into the fontviewer on that machine.. but when i copy to disk, and take to the computer, it doesnt work. now, downloading it straight off this site, also it does not display..)

I only changed the things you already noticed. I assume you did install the font through windows Fonts folder?

Maybe there is a problem with other fonts already installed on your system. Try the Fix Font Folder utility available from our download page.
http://www.high-logic.com/download.html

How to use it:

  • Start Fifofo.exe
  • Press the Ok button at the bottom of the “Read Me” Window.
  • Press “Fix Fonts Folder”
  • wait, wait, wait…until you see a list of fonts.
  • Press “Save Report…” and select a filename
  • As a final step a restart might help

Send this file and the font file to me so I can try and help you with the problem.

Additional info; i went through the torturous processes involved in installing a program called FontForge (install cygwin and about a million megabytes of stuff, basically a whole linux distro :slight_smile: ) and loaded in the TTF file you gave me, re-saved it as OpenType (without changing anything) .. now, the ascender defaulted to something silly, but the font works as an OpenType (it just looks stupid)

I loaded in the Free 3 of 9 (the original inspiration font) and applied a 50% vertical scale to all the characters (is this possible in FC? it took AGES to do them all individually), i also set the ascenders to 770 up, 230 down (OpenType are supposed to have a 1000 em range, or something.. i didnt pay much attention).. saved the font, again as OpenType, and moved it to the machine. It worked, but still looked stupid (the ascender is still too large, which means it will function like Free3of9 and push my report out of alignment..

So here’s my puzzle:

Free3of9 - the original font, works great on the problem machine
Half3of9 - my 50% scaled version, my version never worked, your version worked once then stopped (i hate computer inconsistency) on the problem machine, yet it works faultlessly on my development machine
Open3of9 - my rendition of Free3of9, halved, re-ascended and saved as OpenType by FontForge - this works on both machines, but looks stupid (some characters are mangled and the barcode letters have blank spaces above and below)

The above situation prevails whether the font is installed in fonts folder (installed correctly, registry entries ok, fifofo has no complaints about the barcode fonts) or just viewed from any folder, using the font viewer.

interesting snippets from the report (assume that all fonts not listed are OK)

C:\WINDOWS\Fonts\HALF39EX_HL_2.TTF Half 3 of 9 Extended Regular Half 3 of 9 Extended OK

[C:\WINDOWS\Fonts\palabi.TTF] WARNINGS
Unknown PCLT Table version number 2.0 (expecting 1.0).
CmapEncodingSubTable with PlatFormID 1 and PlatformSpecificEncodingID 0 already exists
CmapEncodingSubTable with PlatFormID 1 and PlatformSpecificEncodingID 0 already exists
Palatino Linotype Italic (TrueType) <palai.TTF>
[C:\WINDOWS\Fonts\palai.TTF] WARNINGS
Unknown PCLT Table version number 2.0 (expecting 1.0).
CmapEncodingSubTable with PlatFormID 1 and PlatformSpecificEncodingID 0 already exists
CmapEncodingSubTable with PlatFormID 1 and PlatformSpecificEncodingID 0 already exists

SystemDefaultLCID: 2057

C:\WINDOWS\Fonts\ega80737.fon Invalid font
C:\WINDOWS\Fonts\ega40woa.fon Invalid font
C:\WINDOWS\Fonts\ega80850.fon Invalid font
C:\WINDOWS\Fonts\ega80857.fon Invalid font
C:\WINDOWS\Fonts\ega80852.fon Invalid font
C:\WINDOWS\Fonts\ega40869.fon Invalid font
C:\WINDOWS\Fonts\ega40850.fon Invalid font
C:\WINDOWS\Fonts\ega40737.fon Invalid font
C:\WINDOWS\Fonts\ega40852.fon Invalid font
C:\WINDOWS\Fonts\ega40866.fon Invalid font
C:\WINDOWS\Fonts\ega40857.fon Invalid font
C:\WINDOWS\Fonts\ega80866.fon Invalid font
C:\WINDOWS\Fonts\serifet.fon Invalid font
C:\WINDOWS\Fonts\serifer.fon Invalid font
C:\WINDOWS\Fonts\seriff.fon Invalid font
C:\WINDOWS\Fonts\seriffg.fon Invalid font
C:\WINDOWS\Fonts\seriffe.fon Invalid font
C:\WINDOWS\Fonts\serifeg.fon Invalid font
C:\WINDOWS\Fonts\ega80woa.fon Invalid font
C:\WINDOWS\Fonts\ega80869.fon Invalid font
C:\WINDOWS\Fonts\sere1257.fon Invalid font
C:\WINDOWS\Fonts\serifee.fon Invalid font
C:\WINDOWS\Fonts\serf1257.fon Invalid font
C:\WINDOWS\Fonts\dosapp.fon Invalid font
C:\WINDOWS\Fonts\cga80857.fon Invalid font
C:\WINDOWS\Fonts\cga80852.fon Invalid font
C:\WINDOWS\Fonts\cga80866.fon Invalid font
C:\WINDOWS\Fonts\cga80woa.fon Invalid font
C:\WINDOWS\Fonts\cga80869.fon Invalid font
C:\WINDOWS\Fonts\cga80850.fon Invalid font
C:\WINDOWS\Fonts\cga40866.fon Invalid font
C:\WINDOWS\Fonts\cga40857.fon Invalid font
C:\WINDOWS\Fonts\cga40869.fon Invalid font
C:\WINDOWS\Fonts\cga80737.fon Invalid font
C:\WINDOWS\Fonts\cga40woa.fon Invalid font
C:\WINDOWS\Fonts\coue1257.fon Invalid font
C:\WINDOWS\Fonts\courfg.fon Invalid font
C:\WINDOWS\Fonts\courfe.fon Invalid font
C:\WINDOWS\Fonts\courfr.fon Invalid font
C:\WINDOWS\Fonts\dos737.fon Invalid font
C:\WINDOWS\Fonts\courft.fon Invalid font
C:\WINDOWS\Fonts\courf.fon Invalid font
C:\WINDOWS\Fonts\couree.fon Invalid font
C:\WINDOWS\Fonts\couf1257.fon Invalid font
C:\WINDOWS\Fonts\coureg.fon Invalid font
C:\WINDOWS\Fonts\couret.fon Invalid font
C:\WINDOWS\Fonts\courer.fon Invalid font
C:\WINDOWS\Fonts\seriffr.fon Invalid font
C:\WINDOWS\Fonts\vga865.fon Invalid font
C:\WINDOWS\Fonts\vga863.fon Invalid font
C:\WINDOWS\Fonts\vga866.fon Invalid font
C:\WINDOWS\Fonts\vgaf1257.fon Invalid font
C:\WINDOWS\Fonts\vga869.fon Invalid font
C:\WINDOWS\Fonts\vga860.fon Invalid font
C:\WINDOWS\Fonts\vga850.fon Invalid font
C:\WINDOWS\Fonts\vga775.fon Invalid font
C:\WINDOWS\Fonts\vga852.fon Invalid font
C:\WINDOWS\Fonts\vga857.fon Invalid font
C:\WINDOWS\Fonts\vga855.fon Invalid font
C:\WINDOWS\Fonts\vgafix.fon Invalid font
C:\WINDOWS\Fonts\vgasyse.fon Invalid font
C:\WINDOWS\Fonts\vgasys.fon Invalid font
C:\WINDOWS\Fonts\vgasysg.fon Invalid font
C:\WINDOWS\Fonts\vgasyst.fon Invalid font
C:\WINDOWS\Fonts\vgasysr.fon Invalid font
C:\WINDOWS\Fonts\vgas1257.fon Invalid font
C:\WINDOWS\Fonts\vgafixg.fon Invalid font
C:\WINDOWS\Fonts\vgafixe.fon Invalid font
C:\WINDOWS\Fonts\vgafixr.fon Invalid font
C:\WINDOWS\Fonts\vgaoem.fon Invalid font
C:\WINDOWS\Fonts\vgafixt.fon Invalid font
C:\WINDOWS\Fonts\vga737.fon Invalid font
C:\WINDOWS\Fonts\smallf.fon Invalid font
C:\WINDOWS\Fonts\smallet.fon Invalid font
C:\WINDOWS\Fonts\smallfe.fon Invalid font
C:\WINDOWS\Fonts\smallfr.fon Invalid font
C:\WINDOWS\Fonts\smallfg.fon Invalid font
C:\WINDOWS\Fonts\smaller.fon Invalid font
C:\WINDOWS\Fonts\smae1257.fon Invalid font
C:\WINDOWS\Fonts\serifft.fon Invalid font
C:\WINDOWS\Fonts\smaf1257.fon Invalid font
C:\WINDOWS\Fonts\smalleg.fon Invalid font
C:\WINDOWS\Fonts\smallee.fon Invalid font
C:\WINDOWS\Fonts\smallft.fon Invalid font
C:\WINDOWS\Fonts\sseriffe.fon Invalid font
C:\WINDOWS\Fonts\sseriff.fon Invalid font
C:\WINDOWS\Fonts\sseriffg.fon Invalid font
C:\WINDOWS\Fonts\sserifft.fon Invalid font
C:\WINDOWS\Fonts\sseriffr.fon Invalid font
C:\WINDOWS\Fonts\sserifet.fon Invalid font
C:\WINDOWS\Fonts\ssef1257.fon Invalid font
C:\WINDOWS\Fonts\ssee1257.fon Invalid font
C:\WINDOWS\Fonts\sserifee.fon Invalid font
C:\WINDOWS\Fonts\sserifer.fon Invalid font
C:\WINDOWS\Fonts\sserifeg.fon Invalid font
C:\WINDOWS\Fonts\wst_swed.FON Invalid font
C:\WINDOWS\Fonts\8514fix.fon Invalid font
C:\WINDOWS\Fonts\wst_span.FON Invalid font
C:\WINDOWS\Fonts\wst_germ.FON Invalid font
C:\WINDOWS\Fonts\wst_ital.FON Invalid font
C:\WINDOWS\Fonts\8514fixt.fon Invalid font
C:\WINDOWS\Fonts\8514oem.fon Invalid font
C:\WINDOWS\Fonts\8514fixr.fon Invalid font
C:\WINDOWS\Fonts\8514fixe.fon Invalid font
C:\WINDOWS\Fonts\8514fixg.fon Invalid font
C:\WINDOWS\Fonts\wst_fren.FON Invalid font
C:\WINDOWS\Fonts\SCRIPT.FON Invalid font
C:\WINDOWS\Fonts\ROMAN.FON Invalid font
C:\WINDOWS\Fonts\SMALLE.FON Invalid font
C:\WINDOWS\Fonts\COURE.FON Invalid font
C:\WINDOWS\Fonts\SYMBOLE.FON Invalid font
C:\WINDOWS\Fonts\wst_czec.FON Invalid font
C:\WINDOWS\Fonts\wst_engl.FON Invalid font
C:\WINDOWS\Fonts\MODERN.FON Invalid font
C:\WINDOWS\Fonts\SERIFE.FON Invalid font
C:\WINDOWS\Fonts\SSERIFE.FON Invalid font
C:\WINDOWS\Fonts\8514oeme.fon Invalid font
C:\WINDOWS\Fonts\app852.fon Invalid font
C:\WINDOWS\Fonts\app855.fon Invalid font
C:\WINDOWS\Fonts\app850.fon Invalid font
C:\WINDOWS\Fonts\85s1257.fon Invalid font
C:\WINDOWS\Fonts\app775.fon Invalid font
C:\WINDOWS\Fonts\cga40850.fon Invalid font
C:\WINDOWS\Fonts\cga40852.fon Invalid font
C:\WINDOWS\Fonts\cga40737.fon Invalid font
C:\WINDOWS\Fonts\app857.fon Invalid font
C:\WINDOWS\Fonts\app866.fon Invalid font
C:\WINDOWS\Fonts\85f1257.fon Invalid font
C:\WINDOWS\Fonts\8514sys.fon Invalid font
C:\WINDOWS\Fonts\8514syse.fon Invalid font
C:\WINDOWS\Fonts\8514oemt.fon Invalid font
C:\WINDOWS\Fonts\8514oemg.fon Invalid font
C:\WINDOWS\Fonts\8514oemr.fon Invalid font
C:\WINDOWS\Fonts\8514sysg.fon Invalid font
C:\WINDOWS\Fonts\85775.fon Invalid font
C:\WINDOWS\Fonts\85855.fon Invalid font
C:\WINDOWS\Fonts\8514syst.fon Invalid font
C:\WINDOWS\Fonts\8514sysr.fon Invalid font

C:\WINDOWS\Fonts\mvboli.TTF MV Boli Regular MV Boli Wrong registry font name
C:\WINDOWS\Fonts\WINGDING.TTF Wingdings Regular Wingdings Wrong registry font name

I suggest you create a new font from scratch and then copy and paste the glyphs into the new font. Next remove all incomplete glyphs (select Incomplete Glyphs from the Edit menu and then delete them) and update the naming fields (select AutoNaming from the Tools menu). Then modify the ascender and descender values.

Let us know your results.

oh wow.. i just installed FC4.5, and found the Tools.. GLyph Transformer
Im sure that wasnt there before, but i managed to scale everything to 50% in less than a second… now that’s a power tool! impressed

So i started out with my original font again, mass scaled to 50%, then in the settings, set:
Unites per em = 770
Ascender = 770
Windows Ascender = 770
Typo Ascender = 770
Calculate average char width
Hint = Strong left to right only
Smallest size = 7

And saved it.. it works perfectly on all machines.

Now, heres the odd part. I edited the Namings to reflect that I had done a bit of work on it, when it was done, and mentioned FC45.. and saved it as a different file (so i didnt overwrite a working one)
…and it stopped working on the test(problem) machine but works perfectly on mine.

I have uploaded the relevant fonts to http://www.lexpos.com/pers/matt/font/curious.zip

this archive contains:
half3of9x_2048em - a file where i set everything but left the Units per em at 2048, and it confuses in Windows Font Viewer - WFV stacks the size indicators on top of each other
half3of9x_770em - version of the above file that has units per em set to 770 - wfv displays correctly
half3of9x_770em_withNewNamings - note that the 2 fonts above are called Free 3 of 9 in WFV.. well i edited the namings to include my name in the copyright, name from Free3of9 to Half3of9 (i used autonaming tool initially) and put reference to FC45 in trademark field
All these fields were present in original font, but this font does not work on the test machine

all fonts work perfectly on my machine
neither machine has ANY of these fonts installed to FONTS folder, but even if i do, they dont work in WFV, nor in wordpad on the problem machine.
all fonts work perfectly on my machine when installed to FONTS, in WFV and wordpad

note; i see that WFV tries to get a font from FONTS based on its name..

suppose you ahve a good, working Free3of9 installed in FONTS, and then try to open a damaged/bad one from disk somewhere.. the one installed in FONTS is shown. i found this out by installing the 770em version above, then loading the 2048em off disk.. the font rendered correctly (hence my belief it was the 770em installed version being shown, not the 2048em i had doubleclicked). i removed the 770em from FONTS and doubleclicked 2048em again, this time it was corrupted display (as expected)

Realising this, i ensured that NO barcode fonts related to this topic, were installed in my development machine FONTS folder.. so its totally clean now.. and all fonts given in curious.zip work perfectly on my machine, yet exhibit the listed faults on the test machine.. unfortunately, i cannot make the test machine like mine (with windows update etc) as it is designed deliberately to reflect what is on our client machines…

so, Mr Denissen.. any ideas how editing the naming (and nothing else) might break this WFV? the screenshots i posted before apply here.. before editing naming, the screen is filled with barcodes and “Free 3 of 9 Extended Regular” words.. after editing the naming, the screen resembles the client.bmp shot i posted.. i.e. blank..

following your advice, i created a new font, font base name Half 3 of 9 Extended, copied over all the glyphs, selected incomplete and deleted, mass scale(100,50) LB, into font settings, cleared all information about suber/subscript strikeout etc to 0 (not used in barcodes), units/em = 770, all ascenders to 770, all other values to 0, set some panose info, calculate width, all other settings as default, namings: edited my name into area on both amc and windows, but left everything else..

saved it as mw3of9.ttf, checked on my machine → works perfectly.
checked on test machine → broken (no characters displayed)

get this: opened my new font again, went to autonaming, bashed a name in of kasdhfjashdlkjsgsd or something like it, preses ok and save my new font
my machine ->works perfectly
test machine ->works perfectly

what gives?

remember that this test machine is Windows XP service pack 1 (if i’m lucky!) with NO updates other than Sasser and MSBlast virus patches applied.. its a heap of bug-ridden chunk, whereas my machine is as up to date as it can possibly be.. I’d be tempted at this point to finger microsoft’s stupid OS as the problem.. it works on windows 2000 (again, latest servicepacks etc) and my xp.. but not an aged version.

going to test some more things…

so, i restarted the test machine, and now everything works..

however.. i have yet to install the program that created all this nuisance in the first place… i shall run through my installer, then doublecheck what it has done (its programmatic install, using VB, but not jsut copy to the fonts folder.. it DOES also make the correct registry entries.. but i may just tell WFV to do the isntall for me, if i can figure out the syntax)

sorry for the chasing round in circles.. im guessing that even though haf 3 of 9 was installed, then removed and removed successfully 9no file, no registry), windows did cache a dead link somewhere, and thats why any font with the base name of Half 3 of 9 Extended showed 100% blank.. bah