Search found 76 matches

by blmara
Tue Aug 01, 2023 12:51 pm
Forum: General Developer Support
Topic: Text datatype
Replies: 6
Views: 31072

Re: Text datatype

@gdridi

I use text.datatype with configurable font setting in Bibvision bible text viewer. Font is opened with OpenDiskFont() before NewDTObject as text.datatype seems not to search for disk fonts if they are not in memory. When changing font, the datatype is removed from the window and reopened to ...
by blmara
Sun Oct 30, 2022 10:31 am
Forum: SDK Support
Topic: SDK 54.16 newlib math.h problem
Replies: 4
Views: 27126

Re: SDK 54.16 newlib math.h problem

Thanks and sorry for delay replying,

the DropBox link provided in the previous message doesn't seem to work with Amiga Browsers (Odyssey, Netsurf) but with the help of my Android phone I manage to download the new math.h. Now it compiles flawlessly with VBCC. Thanks a lot! Hopefully this will go to ...
by blmara
Sun Oct 16, 2022 3:05 pm
Forum: SDK Support
Topic: SDK 54.16 newlib math.h problem
Replies: 4
Views: 27126

SDK 54.16 newlib math.h problem

Hi,

I've got a project that includes newlib math.h in one module. This is compiled with VBCC 0.9h. After installing SDK 54.16, including the SDK version of VBCC, I get this error when compiling the project


'vbcc:bin/vc +newlib -cpp-comments -Lvlibos4: -ISDK:local/newlib/include/ -ISDK:local ...
by blmara
Wed Aug 04, 2021 2:18 pm
Forum: General Developer Support
Topic: Where to pick the default printed page size?
Replies: 4
Views: 21707

Re: Where to pick the default printed page size?

@thomasrapp

Hi,
I'm back with the question above. I finally had time to test the printer.device approach to get the default paper size. I found only the struct PrinterData copy of Preferences that contain (a copy of) struct Preferences. Unfortunately changing paper size at PrinterPS prefs editor ...
by blmara
Sun Jun 06, 2021 12:13 pm
Forum: General Developer Support
Topic: Text datatype in a layout.gadget and odd behaviour of DTA_Busy
Replies: 3
Views: 16908

Re: Text datatype in a layout.gadget and odd behaviour of DTA_Busy

Hi,

I tested some more and I'm wondering why the layout of text.datatype is working differently in Enchancer 2.0 compared to the plain AmigaOS4. When starting in AmigaOS4, the GA_Width and GA_Height of text.datatype object is similar to the space.gadget object installed into the layout and only few ...
by blmara
Sun May 30, 2021 12:52 am
Forum: General Developer Support
Topic: Text datatype in a layout.gadget and odd behaviour of DTA_Busy
Replies: 3
Views: 16908

Text datatype in a layout.gadget and odd behaviour of DTA_Busy

Hi,

in my BibVision program I use text.datatype object embedded into a layout.gadget for viewing contents of a text file. Unlike with the original AmigaOS FE upd2, with Enhancer 2.0 the text datatype seems to fill only part of the layout area reserved for it. While debugging my program I decided to ...
by blmara
Sat May 08, 2021 2:10 pm
Forum: General Developer Support
Topic: Where to pick the default printed page size?
Replies: 4
Views: 21707

Re: Where to pick the default printed page size?

@Steady, @thomasrapp

Thanks! My program actually uses both the prefs files and printer.device preferences to get other settings, but I didn't understand that even this piece of information is not valid anymore. I'll check these.

Marko
by blmara
Sat Apr 24, 2021 4:24 pm
Forum: General Developer Support
Topic: Where to pick the default printed page size?
Replies: 4
Views: 21707

Where to pick the default printed page size?

Hi,

I'm developing a music notation program. At startup program is trying to find the default page size user would perhaps want to use with the musical scores. I've used IIntuition->GetPrefs() to get the field Preferences->PaperSize. Now, when I created a new partition for OS4 update 2 combined ...
by blmara
Fri Apr 02, 2021 10:33 am
Forum: General Developer Support
Topic: Workbench library issue
Replies: 8
Views: 8465

Re: Workbench library issue

@OldFart

About the SDK:C question: it was FileHandleScan

For some reason, in my SDK installation that file had it's executable flag not set. I set it with

protect sdk:c/filehandlescan +e

After that the program executed nicely.

Marko