Search found 524 matches

by gwarble
17 Mar 2024, 12:21
Forum: Scripts and Functions (v1)
Topic: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support
Replies: 42
Views: 9055

Re: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support

yes png images, i haven't had a chance to test fully but it sounds like it should have the libpng lib compiled into the libharu.dll 2.3.0 posted by vmech in that thread... I will test more when I have time But you should try it and see if the UTF encoding works for your characters... the png issue i...
by gwarble
17 Mar 2024, 12:07
Forum: Scripts and Functions (v1)
Topic: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support
Replies: 42
Views: 9055

Re: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support

I'm in the same boat so still on v1, but vmech has compiled 2.3.0 that in theory can be used with this library (tested working by me last night, but i didn't get png working yet)
by gwarble
17 Mar 2024, 01:42
Forum: Scripts and Functions (v1)
Topic: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support
Replies: 42
Views: 9055

Re: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support

Only that I don't know what I'm doing... I think I tried it with GCC years ago, I'll try MinGW next time but thanks for answering, I see that you have already solved it in the v2 forum a few months ago! (I've not started using v2 yet but I just converted the library to be v2 compatible yesterday, to...
by gwarble
15 Mar 2024, 19:48
Forum: Scripts and Functions (v1)
Topic: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support
Replies: 42
Views: 9055

Re: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support

this comment in the library confirms:
HPDF_UseUTFEncodings(&hDoc) { ; v2.3.0+
you might want to reach out on other forums for help compiling the newest version (and if you do, try to get 32 and 64 bit versions compiled without dependencies on zlib, libpng, or msvcrt0
by gwarble
13 Mar 2024, 16:43
Forum: Scripts and Functions (v1)
Topic: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support
Replies: 42
Views: 9055

Re: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support

thanks for the link, the libharu site says 2.3.0 is the latest but the linked github goes up to 2.4.4

I'd love to get a compiled version of the latest including libpng and zlib dependencies compiled all in one dll (well one 32bit and one 64bit), i failed last time I tried but will attempt again
by gwarble
13 Mar 2024, 09:57
Forum: Scripts and Functions (v1)
Topic: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support
Replies: 42
Views: 9055

Re: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support

I'm not sure but I will play around with it

Code: Select all

HPDF_SetCurrentEncoder(pdf, "UTF-8")
HPDF_GetFont(pdf, HPDF_LoadTTFontFromFile(pdf, "arial.ttf", HPDF_TRUE), "UTF-8")
by gwarble
12 Mar 2024, 16:11
Forum: Scripts and Functions (v1)
Topic: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support
Replies: 42
Views: 9055

Re: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support

doesn't work with your characters ĊċĠġħħĦħ, but if I use this third parameter it works for these characters àèìòù:
font := HPDF_GetFont(hDoc, "Helvetica", "WinAnsiEncoding") or ISO8859-3
by gwarble
12 Mar 2024, 13:57
Forum: Scripts and Functions (v1)
Topic: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support
Replies: 42
Views: 9055

Re: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support

I've not used unicode/extended characters like that and only get ?s in my current app, but I am able to use a custom barcode font. Did you try HPDF_SetCurrentEncoder(hDoc, encoding_name) ? Note to self for next attempt to compile dll of new version 2.4.4 with zlib and libpng: https://github.com/libh...
by gwarble
08 Mar 2024, 11:24
Forum: Scripts and Functions (v1)
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 392
Views: 207064

Re: EitherMouse 0.8 - Multiple mice, individual settings...

in my experience, definitely. I haven't had found a real infection since EitherMouse first released in 2009 but get false positive reports more than anything else probably. there's a link to this thread on the webpage just to help people decide if they want to whitelist it: https://www.autohotkey.co...
by gwarble
02 Feb 2024, 11:19
Forum: Scripts and Functions (v1)
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 392
Views: 207064

Re: EitherMouse 0.8 - Multiple mice, individual settings...

No problem... Windows' API called RawInput is how, you can read the source to see specifically (its been forever and its amateur code) If you have EitherMouse installed and set all the mice normally, you can use it in a couple ways to maybe solve your problem... you could use MultiCursor mode with t...
by gwarble
25 Jan 2024, 11:44
Forum: Scripts and Functions (v1)
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 392
Views: 207064

Re: EitherMouse 0.8 - Multiple mice, individual settings...

Glad it seems usable as-is, but I now realize that you were talking about a third party app RawAccel and not windows in-built mouse acceleration settings. If RawAccel has a way to apply settings via a command line or some API then it would be totally possible to use a unique RawAccel profile when th...
by gwarble
24 Jan 2024, 21:44
Forum: Scripts and Functions (v1)
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 392
Views: 207064

Re: EitherMouse 0.8 - Multiple mice, individual settings...

ah thanks, helps my sanity

I'll try to re-answer in more depth...
by gwarble
24 Jan 2024, 18:29
Forum: Scripts and Functions (v1)
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 392
Views: 207064

Re: EitherMouse 0.8 - Multiple mice, individual settings...

summerzy: no, I'm surprised in 15 years no one has requested this. I'll have to refresh my memory on how it works but its definitely possible, in fact it could probably be done with a "plugin" rather than actually updating EitherMouse REEKOUS: I could have sworn I posted a response already, but basi...
by gwarble
08 Aug 2023, 23:09
Forum: Scripts and Functions (v1)
Topic: ShowMenu() : in center screen.
Replies: 17
Views: 4239

Re: ShowMenu() : in center screen.

thanks for looking into this, I love this functions ability to avoid the taskbar, I will try out your new version in place of what I use daily...
by gwarble
12 Jun 2023, 22:33
Forum: Scripts and Functions (v1)
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 392
Views: 207064

Re: EitherMouse 0.8 - Multiple mice, individual settings...

If you mean how does it work for the user, I would say just try it and it will make more sense than I can explain, but basically it simulates two separate cursors, but does not allow simultaneous usage. So if one mouse moves, then switching to the other mouse will switch over to the last location of...
by gwarble
10 Apr 2023, 22:54
Forum: Scripts and Functions (v1)
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 392
Views: 207064

Re: EitherMouse 0.8 - Multiple mice, individual settings...

Thanks for the feedback, I'm happy to hear you find it useful. I wish I still had free time to keep improving it but its hard to find...
by gwarble
01 Apr 2023, 20:26
Forum: Scripts and Functions (v1)
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 392
Views: 207064

Re: EitherMouse 0.8 - Multiple mice, individual settings...

Thanks for the feedback, I'm glad to hear you find it useful!
by gwarble
22 Mar 2023, 23:31
Forum: Scripts and Functions (v1)
Topic: How to perfectly fit any image on a fixed size picture control
Replies: 33
Views: 11053

Re: How to perfectly fit any image on a fixed size picture control

oh ok my bad, you quoted my response to better downscaling specifically, which Imagen() solves nicely for me, but if you're after all the specific modes available then that dll or dissecting the GDI+ code and adding options for other interpolation and smoothing modes might be your best bet, good luc...
by gwarble
22 Mar 2023, 16:17
Forum: Scripts and Functions (v1)
Topic: How to perfectly fit any image on a fixed size picture control
Replies: 33
Views: 11053

Re: How to perfectly fit any image on a fixed size picture control

Have you tried Imagen() from Skan yet? Dll shouldn't be required unless I'm missing something

ahk.ahk-20230322141806.png
ahk.ahk-20230322141806.png (16.38 KiB) Viewed 793 times

Code: Select all

Gui, Margin, 0, 0
;pic is 660x100
Gui, Add, Picture, x0 y0  w165 h25, ahk.png
Gui, Add, Picture, x0 y25 w165 h25 hwndhPic
Imagen("ahk.png","ahk_id" . hPic)
Gui, Show
by gwarble
21 Mar 2023, 22:03
Forum: Scripts and Functions (v1)
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 392
Views: 207064

Re: EitherMouse 0.8 - Multiple mice, individual settings...

nope, sorry i don't know of anything, EitherMouse and AutoHotkey are windows only

Go to advanced search