Search found 159 matches
- Thu Feb 15, 2024 8:51 pm
- Forum: Talking LiveCode
- Topic: Custom fonts with a standalone
- Replies: 22
- Views: 6630
Re: Custom fonts with a standalone
I tried this with a TTF and although I get a folder containing the exe, the font file, and an empty 'Externals' folder...the font still does not display correctly. In the Standalone App Settings > 'Copy Files' tab, do I need to enable the 'Copy Referenced Files' checkbox and populate the 'Destinatio...
- Wed Feb 14, 2024 7:03 pm
- Forum: Talking LiveCode
- Topic: Custom fonts with a standalone
- Replies: 22
- Views: 6630
Re: Custom fonts with a standalone
I tried adding 'globally' to the end of the command but this didn't resolve the issue. Font still doesn't display correctly.
I will try converting the OpenType to a TrueType and see if that works.
Best regards,
Jon
I will try converting the OpenType to a TrueType and see if that works.
Best regards,
Jon
- Wed Feb 14, 2024 6:32 pm
- Forum: Talking LiveCode
- Topic: Custom fonts with a standalone
- Replies: 22
- Views: 6630
Re: Custom fonts with a standalone
Hi everyone, Yes, I added the font via Copy Files in the Standalone App Settings. I also add the code as instructed within a preOpenStack handler: start using font file (specialFolderPath("resources") & "/MyFont.otf") After compiling, I get a folder containing the .exe, the font file, and an empty '...
- Wed Feb 14, 2024 5:00 pm
- Forum: Talking LiveCode
- Topic: Custom fonts with a standalone
- Replies: 22
- Views: 6630
Re: Custom fonts with a standalone
Hmmmm. Maybe I spoke too fast. After doing everything, what I get for the Windows standalone is the .exe along with an empty 'Externals' folder the font file and when I open the app, the font doesn't display correctly.
What am I doing wrong?
Thank you,
Jon
What am I doing wrong?
Thank you,
Jon
- Wed Feb 14, 2024 4:38 pm
- Forum: Talking LiveCode
- Topic: Custom fonts with a standalone
- Replies: 22
- Views: 6630
Re: Custom fonts with a standalone
Outstanding!
Thank you so much!
Jon
Thank you so much!
Jon
- Wed Feb 14, 2024 4:05 pm
- Forum: Talking LiveCode
- Topic: Custom fonts with a standalone
- Replies: 22
- Views: 6630
Re: Custom fonts with a standalone
Basically you do something like this in the preopenstack script: ... put specialfolderpath("engine") & "/A nice font.ttf" into tFont start using font file tFont ## same for all other fonts... ... Best Klaus Hi Klaus, I have the same question and since this thread is almost 10 years old, I thought I...
- Thu Feb 01, 2024 2:38 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Windows Standalone "Externals" Folder
- Replies: 3
- Views: 556
Re: Windows Standalone "Externals" Folder
Ok, thanks.
Best regards,
Jon
Best regards,
Jon
- Thu Feb 01, 2024 2:05 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Windows Standalone "Externals" Folder
- Replies: 3
- Views: 556
Windows Standalone "Externals" Folder
Hi all, Quick question. I have an app that is compiled for Mac and Windows. The resulting Mac standalone is a single APP file while there is an "Externals" folder that accompany's the resulting Windows standalone containing DLL files. Is there a way to build the Windows standalone so that the accomp...
- Thu Oct 12, 2023 7:53 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: SOLVED - Is there a date/time picker in Live Code?
- Replies: 9
- Views: 9100
Re: SOLVED - Is there a date/time picker in Live Code?
Hi all, I'd like to include this product in a project I am working on but noticed something odd in the original stack. If I click forward to view future months, it's highlighting more than one day in the current month and it highlights a day or days in future months: Screen Shot 2023-10-12 at 2.42.5...
- Fri Sep 15, 2023 9:44 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Text Fields and Truly Centered Text
- Replies: 17
- Views: 4489
Re: Text Fields and Truly Centered Text
Hi Craig,
Here's what I see:
Best regards,
Jon
Here's what I see:
Best regards,
Jon
- Fri Sep 15, 2023 3:58 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Text Fields and Truly Centered Text
- Replies: 17
- Views: 4489
Text Fields and Truly Centered Text
Hi everyone, After adding a text field, entering some text, centering it, setting the text margins and field border width to zero, not only is the text not exactly centered but its also partially cut off: Text.jpg Why is this? To me, if you center text in a text field, it should be CENTERED and if I...
- Tue Jun 20, 2023 8:48 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Resize rotated image?
- Replies: 8
- Views: 2994
Re: Resize rotated image?
Here is the updated script which now works: on mouseUp put the loc of graphic "placeHolder" into tLoc answer file "Select a JPEG file:" put it into filePath set itemDelimiter to "/" put last item of filePath into tFileName set itemDelimiter to "" import paint from file filePath set lockLoc of image ...
- Tue Jun 20, 2023 8:22 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Resize rotated image?
- Replies: 8
- Views: 2994
Re: Resize rotated image?
Hi Bernd,
I had just tried that before I saw your reply and yes, that did the trick!
Thanks everyone!
Jon
I had just tried that before I saw your reply and yes, that did the trick!
Thanks everyone!
Jon
- Tue Jun 20, 2023 8:08 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Resize rotated image?
- Replies: 8
- Views: 2994
Re: Resize rotated image?
Hi Craig,
I am stumped. If I remove the angle command line, the script works perfectly but with the angle command in place, the image size is not reduced in size nor is it repositioned as instructed.
Best regards,
Jon
I am stumped. If I remove the angle command line, the script works perfectly but with the angle command in place, the image size is not reduced in size nor is it repositioned as instructed.
Best regards,
Jon
- Tue Jun 20, 2023 6:51 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Resize rotated image?
- Replies: 8
- Views: 2994
Resize rotated image?
Hi all, I am trying to script the process of importing an image, rotating it to a different angle, reducing its size, and then setting its location. The script worked perfectly until I added the line to change its rotation angle. Here's the script as I have it so far: on mouseUp answer file "Select ...