- This topic has 41 replies, 2 voices, and was last updated 6 years, 1 month ago by HeDiBo.
-
AuthorPosts
-
July 11, 2018 at 5:59 pm #58143SupportKeymaster
I have clicked this “List Family Names” button before a screenshoting.
Please, ignore “Font file” field, this field was used before “List Family Names”clicking.
Same problem in all directories.
As I wrote above, these fonts are not working in Win 7 at all (Excel, Word do not work with these fonts).
July 11, 2018 at 6:04 pm #58144HeDiBoParticipant'Support' wrote:I have clicked this “List Family Names” button before a screenshoting.
Please, ignore “Font file” field, this field was used before “List Family Names”clicking.
Same problem in all directories.
As I wrote above, these fonts are not working in Win 7 at all (Excel, Word do not work with these fonts).
Does the test program work with other fonts, that will work in Word on Windows 7?
July 11, 2018 at 6:14 pm #58145HeDiBoParticipantI checked the fonts you sent me with NexusFont (https://nexusfont.nl.softonic.com/). Most fonts were produced with FontLab. Is it possible FontLab uses features that only windows 10 (or 8) understands?
July 11, 2018 at 6:15 pm #58146SupportKeymaster'HeDiBo' wrote:Does the test program work with other fonts, that will work in Word on Windows 7?
All TTF fonts works well.
Some OTF fonts works, but some OTF fonts are broken under Win 7.
All OTF fonts works well under Win 10.
July 11, 2018 at 6:21 pm #58147HeDiBoParticipant'Support' wrote:All TTF fonts works well.
Some OTF fonts works, but some OTF fonts are broken under Win 7.
All OTF fonts works well under Win 10.
Then we don't have a problem have we?
You should not use the TsCharImageList with fonts you cannot read. That's obvious.
Maybe we can determine if a font will not work in windows 7 and below. So that using such a font in TsCharImageList will cause problems later on and an appropriate warning could be given.
But on the other hand, if the character image from the font does not need the actual font anymore, there's no problem at all.
July 11, 2018 at 7:10 pm #58148HeDiBoParticipantI found this article: http://www.tomshardw…-opentype-fonts
It shows how to relieve font problems in Windows 7, that may be related to the graphics card.
This was also very interesting: https://www.sevenforums.com/general-discussion/65308-opentype-fonts-otf-not-valid-font-2.html
July 12, 2018 at 4:02 pm #58149HeDiBoParticipantI completed the test program: [attachment=8819:GetSystemFontInfo.zip]
It will now show both the font name and the family name of the font file.
For this I used the undocumented gdi32 call GetFontResourceInfoW. Although it is undocumented, it is already part of the gdi32 dll since Windows 98.
A good piece of description for this call can be found here: http://www.undocprin…ontresourceinfo
July 12, 2018 at 6:03 pm #58150HeDiBoParticipantApparently the problem with OTF fonts and Windows 7 or 8 has something to do with Microsoft Security Update KB2753842:
July 15, 2018 at 2:51 pm #58152HeDiBoParticipantThis is the final version of the Font Info project: [attachment=8820:GetPrivateFontInfo.zip].
The family name is now retrieved from the LogFont structure, which can be obtained with the undocumented but always present GetFontResourceInfoW Gdi32 call
The properties from the LogFont structure are also listed.
The MSDN description of LogFont shows the meaning of the different values.
July 15, 2018 at 6:35 pm #58153SupportKeymasterThank you.
I'm thinking now: if developer uses Otf font in the project, he will not have guarantee for correct work of the font in all users systems.
What to do in this case? I can't find a good universal solution.
July 15, 2018 at 9:45 pm #58161HeDiBoParticipant'Support' wrote:Thank you.
I'm thinking now: if developer uses Otf font in the project, he will not have guarantee for correct work of the font in all users systems.
What to do in this case? I can't find a good universal solution.
It depends a bit on how TsFontStore works. If one of your troublesome fonts is added to the TsFontStore in Windows 10, how does is work in your Windows 7 system?
By the way, anybody knows that exotic fonts can only be used if tested thoroughly. You cannot prevent a programmer's stupidity.
Also, did you try the bug fixes that I found for otf fonts in Windows 7. If they work, you could alert when TsFontStore is used, that the program will only work in Windows 7/8 if certain Windows 7/8 patches are applied. There exists no universal solution for buggy Windows versions. So, I wouldn't look for any.
July 16, 2018 at 10:58 am #58167SupportKeymasterI have downloaded and runned this update, but I have received that update can't be applied on my system.
I can't say why it can't installed, my system Win7 x64, update file name is “Windows6.1-KB2753842-v2-x64.msu”
I think, I will add a special warning label for developers in the design-time editor, but support of OTF will not be added in the nearest release.
Latest release will be uploaded today-tomorrow.
July 16, 2018 at 2:33 pm #58168HeDiBoParticipant'Support' wrote:I have downloaded and runned this update, but I have received that update can't be applied on my system.
I can't say why it can't installed, my system Win7 x64, update file name is “Windows6.1-KB2753842-v2-x64.msu”
I think, I will add a special warning label for developers in the design-time editor, but support of OTF will not be added in the nearest release.
Latest release will be uploaded today-tomorrow.
Have you checked in installed updates, whether the update KB2753842 was already installed?
If not, don't you think that your system has developed a problem? Maybe it should not be used then for system critical applications?
Do you have the possibility to try the questionable fonts on another Windows 7 system with the KB2753842 applied?
In the meantime I'll try the test program on a very very old Windows XP system, using your problematic fonts. But this takes some time, even starting it up takes several minutes.
July 16, 2018 at 4:17 pm #58169HeDiBoParticipantI have some bad news.
My font program doesn't work at all in Windows XP for otf fonts. Apparently, we need a totally different approach altogether.
I've included the NexusFont utility: [attachment=8832:Nexus Font Portable Version 2.6.2.zip]. No matter what system and no matter what font (otf or ttf) it will always retrieve the right properties. Might be interesting to test that on your crooked fonts. It might even allow you to install these fonts in Windows 7.
Unfortunately, although it's free, it's not open source. We cannot have a peek at how this implementation works.
This is his site: http://www.xiles.net/
July 17, 2018 at 3:07 pm #58182SupportKeymasterThank you, this tool works with all fonts without problems.
But Word or Excel can't use some Otf fonts. I will research it.
September 18, 2018 at 4:06 pm #58380HeDiBoParticipant'Support' wrote:Thank you, this tool works with all fonts without problems.
But Word or Excel can't use some Otf fonts. I will research it.
Any progress yet ❓
September 21, 2018 at 9:41 am #58396SupportKeymasterHi
I see that some Otf fonts doesn't work well under some systems.
So, correct work of all Otf fonts can't be guaranted.
I think to add support of Otf fonts soon, but with this warning to developers.
September 21, 2018 at 10:03 am #58400HeDiBoParticipant'Support' wrote:Hi
I see that some Otf fonts doesn't work well under some systems.
So, correct work of all Otf fonts can't be guaranted.
I think to add support of Otf fonts soon, but with this warning to developers.
The original question was about the TsCharImageList.
Adding additional embedded fonts does not allow to select OTF fonts.
September 26, 2018 at 1:15 pm #58420HeDiBoParticipantTsCharImageList cannot handle OTF fonts in 14.02
October 2, 2018 at 3:05 pm #58444HeDiBoParticipant'HeDiBo' wrote:TsCharImageList cannot handle OTF fonts in 14.02
Although TsFontStore is able to handle OTF fonts, in 14.03 TsCharImageList still cannot add an OTF font when adding an embedded font.
-
AuthorPosts
- You must be logged in to reply to this topic.