#706
|
||||
|
||||
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: | ||
Sponsored Links |
#707
|
||||
|
||||
![]()
@BLACKFIRE69.A question about the Google translator. Why does he add extra characters to the translation? and the translation differs from the result of an online translator?
Here is my code. Code:
StatusLB.Text(GoogleTranslate('Welcome to Installation', 'en', 'ru')); Добро пожаловать в установку. And that's what happens through the function. Добро пожаловать%20to%20Установка And another question.... how do I get the language code where the installation is running?
__________________
https://t.me/FMXInno |
#708
|
||||
|
||||
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) |
#709
|
|||
|
|||
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 |
#710
|
|||
|
|||
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? |
#711
|
||||
|
||||
Quote:
Quote:
- green (FF 00 80 00) color is just fine. |
#712
|
||||
|
||||
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. |
#713
|
||||
|
||||
![]() Quote:
To be honest, I don't really like the design of this installer, and for me it looks like an Indian painted bus (no offense, it will be said in front of our Indian friends, in our country everyone remembers who Indira Gandhi is). In this design, the buttons as well as the "dirdit" and "memo" are made in black. And this is the feature of this installer. Here is an example of the most vivid and successful selection of colors. Yes, for many it is probably a discovery that beautiful design is not only bright colors Use the online assistant for the selection of shades, there are many tools., you can even upload your own picture and display the average color or pick up shades. 1 - Create a gradient. 2 - Text and background color generator. 3 - Shade generator. 4 - Mixing colors. https://gradients.app/ru/newpalette
__________________
https://t.me/FMXInno Last edited by audiofeel; 07-01-2024 at 09:16. |
#714
|
||||
|
||||
![]()
In my opinion, it turned out well with the selection
Everything is in your hands.
__________________
https://t.me/FMXInno |
The Following User Says Thank You to audiofeel For This Useful Post: | ||
hitman797 (07-01-2024) |
#715
|
|||
|
|||
Quote:
That part should always be black to be readable My problem was mostly only on Autoran's page. Thank you again. Good night my friend |
#716
|
||||
|
||||
Quote:
the decoding issue was fixed, but it seems like the translated output is incorrect. this is out of my hands because it's up to Google's APIs. we'll see what we can do about it. . Last edited by BLACKFIRE69; 14-07-2024 at 02:15. |
#717
|
||||
|
||||
- why are the %20 characters added when translating ?
- Because %20 is a space code I do not know what to do with it, to be honest
__________________
https://t.me/FMXInno |
The Following User Says Thank You to audiofeel For This Useful Post: | ||
hitman797 (08-01-2024) |
#718
|
||||
|
||||
Code:
StatusLB.Text(GoogleTranslate('Welcome+To+Installation', 'en', 'en'));
__________________
https://t.me/FMXInno Last edited by audiofeel; 07-01-2024 at 15:26. |
The Following User Says Thank You to audiofeel For This Useful Post: | ||
hitman797 (08-01-2024) |
#719
|
||||
|
||||
Quote:
yes it seems like it's working without spaces, (hey Google, what the f*ck? ![]() but we cannot use it that way. i just updated the Google API, and now it works. . Last edited by BLACKFIRE69; 14-07-2024 at 02:16. |
The Following 3 Users Say Thank You to BLACKFIRE69 For This Useful Post: | ||
#720
|
||||
|
||||
Quote:
Code:
function GetUILanguage: Integer; function wGetUserCountryName: WideString; external 'wGetUserCountryName@files:FMXInno.dll stdcall delayload';
__________________
https://t.me/FMXInno |
The Following User Says Thank You to audiofeel For This Useful Post: | ||
hitman797 (08-01-2024) |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 |