|
|
|
#1
|
|||
|
|||
|
An error started to occur deleting the font after I replaced the library with a new one. Do the others have this problem or am I the only one?
Quote:
Quote:
Last edited by Tihiy_Don; 07-01-2024 at 01:40. |
| Sponsored Links |
|
#2
|
|||
|
|||
|
Quote:
Quote:
|
|
#3
|
||||
|
||||
|
Quote:
well, * first of all, this isn't an error message; it's a warning message indicating that the font cannot be removed completely but only partially. * as @audiofeel mentioned, the font (segmdl2.ttf) you're using is a system font that is already installed in the system, hence this warning will be displayed. to avoid this issue: 1. 'InstallFMXFont' is intended for custom fonts, not system fonts. in a future update, i'll modify the DLL to prevent the installation of system fonts accidentally. 2. For the current situation, what you need to do is install your font file as a copy of the current system file. this simply means renaming your font file (segmdl2.ttf) to something else, such as 'segmdl2_New.ttf' or 'segmdl2_Copy.ttf', or any other name you prefer. this'll prevent the warning message from appearing. Code:
Rename: segmdl2.ttf >>> segmdl2_BF69.ttf
[Files]
...
Source: ".\Files\segmdl2_BF69.ttf"; DestDir: "{tmp}"; Flags: dontcopy;
{Code]
function InitializeSetup(): Boolean;
begin
InstallFMXFont(ExtractAndLoad('segmdl2_BF69.ttf'));
FMXInnoInit;
...
end;
procedure DeinitializeSetup();
begin
DeleteFMXFont(ExpandConstant('{tmp}\segmdl2_BF69.ttf'));
ISArcExCleanUp;
FMXInnoShutDown;
end;
* ISArcExCleanUp: regarding 'ISArcExCleanUp,' when you call the function 'ISArcExCleanUp,' it performs internal memory clean-up for the current process. this may include cleaning up the font memory cache, which could be why the warning message isn't displayed. however, it isn't recommended to call 'ISArcExCleanUp' before 'DeleteFMXFont'. |
| The Following 3 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
|
#4
|
|||
|
|||
|
For now, I want to deal with this problem at the file level in the folder that is being created in the temporary folder. I checked, the file "segmdl2.ttf" is there. I don't quite understand yet, and there should be a Windows font directory here.
|
|
#5
|
|||
|
|||
|
https://www.mediafire.com/file/58adn...dicam.rar/file
Hello friends, does anyone know a solution to this problem? There is a problem with the colors of this installation More than 20 colors have this problem The symbols and texts of this installation are not readable The creator of this script says go learn design Do you all know how to design on this forum? The designer of this script does not accept that there is a problem with the installation and says go learn design. I have uploaded the list of problematic colors. Please help to permanently solve this problem so that the colors of this script are correct. And read the texts of this installation in different colors Thanks to those who help |
|
#6
|
||||
|
||||
|
Quote:
oh boy, are you serious? sorry to say this but you need to have common sense. yes, indeed, texts with a font color close to white is difficult to see on a white background or vice versa. so what's the magic here?
Last edited by BLACKFIRE69; 07-01-2024 at 07:46. |
| The Following User Says Thank You to BLACKFIRE69 For This Useful Post: | ||
audiofeel (07-01-2024) | ||
|
#7
|
|||
|
|||
|
Quote:
I mentioned the list of problematic colors, except for white and black, other colors have problems. I tested all the installed colors one by one. But the manufacturer just says that I have to learn to design. You are a designer If this problem is not solved, we will all face problems Why should green have a problem with white, but the manufacturer does not agree |
|
#8
|
||||
|
||||
|
Quote:
Quote:
- green (FF 00 80 00) color is just fine. |
|
#9
|
|||
|
|||
|
Quote:
Why colors with a little white in them are not readable Why do some greens have problems? FF AD FF 2F FF FF FF 00 You are the great designers of the forum Why is there no such problem in similar facilities? |
|
#10
|
||||
|
||||
|
Quote:
i can't believe this. there's no problem with the colors; the only thing is that some colors are hard to see on a white background. Please, grow up. ![]() 1. FF AD FF 2F 2. FF FF FF 00 . Last edited by BLACKFIRE69; 14-07-2024 at 02:15. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows Fluent Effects Standalone API - InnoSetup / VCL / FXM | BLACKFIRE69 | Conversion Tutorials | 0 | 15-11-2023 17:35 |
| Windows Phone Installer similar to razor12911's original design? | Kitsune1982 | Conversion Tutorials | 0 | 02-07-2020 13:04 |
| INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |