If a file is added to a ZIP pack and the PackedFilename includes a path, like "test\myfile.txt", the filename later returned by PackEntryName() always contains a "/" as path seperator, not a "\" as required by windows.
I did so far only check ZIP format and Windows.
Purebasic Version 5.70LTS 64bit ...
Search found 11 matches
- Wed Sep 11, 2019 1:21 pm
- Forum: Coding Questions
- Topic: Packer lib path seperator error in AddPackFile
- Replies: 3
- Views: 3476
- Fri Jul 13, 2018 8:03 am
- Forum: Coding Questions
- Topic: DrawVectorImage() ignores TranslateCoordinates() et al
- Replies: 5
- Views: 1879
Re: DrawVectorImage() ignores TranslateCoordinates() et al
BTW with you code i see scaling, translation and rotation going on, but i don't know what it's supposed to look like. (Linux here)
It is a bunch of squares, rotyated, translated and scaled. I put a screenshot here:
https://share.mailbox.org/ajax/share ...
It is a bunch of squares, rotyated, translated and scaled. I put a screenshot here:
https://share.mailbox.org/ajax/share ...
- Fri Jul 13, 2018 7:59 am
- Forum: Coding Questions
- Topic: DrawVectorImage() ignores TranslateCoordinates() et al
- Replies: 5
- Views: 1879
Re: DrawVectorImage() ignores TranslateCoordinates() et al
Hi Oma and #Null,
Thanks for your replies. I am pretty sure I tried different combinations of scalings and coordinates systems.
Anyhow, as I am a result driven guy, I for now leave it as it is. With the dummy StrokePath(), it works.
I am surprised that you can StrokePath() without having a path at ...
Thanks for your replies. I am pretty sure I tried different combinations of scalings and coordinates systems.
Anyhow, as I am a result driven guy, I for now leave it as it is. With the dummy StrokePath(), it works.
I am surprised that you can StrokePath() without having a path at ...
- Fri Jul 06, 2018 9:27 am
- Forum: Coding Questions
- Topic: DrawVectorImage() ignores TranslateCoordinates() et al
- Replies: 5
- Views: 1879
DrawVectorImage() ignores TranslateCoordinates() et al
Dear Forum,
It seems that DrawVectorImage() does not respect TranslateCoordinates() or ScaleCoordinates()
System: Windows7prof, PureBasic 5.62 X64
At below code, anything works as expected, just the image is neither moved nor scaled.
;VecCoordTest
OpenWindow(0,80,10,2000,1000,"test",#PB_Window ...
It seems that DrawVectorImage() does not respect TranslateCoordinates() or ScaleCoordinates()
System: Windows7prof, PureBasic 5.62 X64
At below code, anything works as expected, just the image is neither moved nor scaled.
;VecCoordTest
OpenWindow(0,80,10,2000,1000,"test",#PB_Window ...
- Fri Jun 01, 2018 1:03 pm
- Forum: Tricks 'n' Tips
- Topic: [Module] PurePDF
- Replies: 39
- Views: 39212
Re: [Module] PurePDF
normeus, I have another issue with purePDF:
Embedding fonts that are on windows system as "TrueType collection font file" ( .ttc ) crashes purePDF.
I need to create chinese PDF files that need to be readable on any PC, so font needs to be embedded.
As I cannot guarantee which fonts are available on ...
Embedding fonts that are on windows system as "TrueType collection font file" ( .ttc ) crashes purePDF.
I need to create chinese PDF files that need to be readable on any PC, so font needs to be embedded.
As I cannot guarantee which fonts are available on ...
- Fri Jun 01, 2018 9:37 am
- Forum: Tricks 'n' Tips
- Topic: [Module] PurePDF
- Replies: 39
- Views: 39212
Re: [Module] PurePDF
normeus, thanks for the explenation and sorry for the long delay of my reply.
So, this is a feature. All OK.
Thank you,
Wolfgang2
So, this is a feature. All OK.
Thank you,
Wolfgang2
- Fri Jun 01, 2018 9:35 am
- Forum: The PureBasic Editor
- Topic: IDE crashes and removes itself from programfiles\purebasic
- Replies: 5
- Views: 2498
Re: IDE crashes and removes itself from programfiles\purebas
Dear Forum, sorry for the long delay.
Indeed, it was the stupid AV software doing this.
I start to lean towards the opinion of several professionals, that the best usage of AV software is to not use it at all.
So, thanks again for the replies and sorry for not responding quickly.
Indeed, it was the stupid AV software doing this.
I start to lean towards the opinion of several professionals, that the best usage of AV software is to not use it at all.
So, thanks again for the replies and sorry for not responding quickly.
- Wed May 30, 2018 3:15 pm
- Forum: Tricks 'n' Tips
- Topic: ListIconGadget with Sort and Edit (by Mouse and Keyboard)
- Replies: 14
- Views: 27148
Re: ListIconGadget with Sort and Edit (by Mouse and Keyboard
Dear Forum, dear nalor,
I know this is old, but I use this great gadget in one of my projects. After the project already is working for a while, I discovered an issue with this listicon control. If you do something within the cutom edit callback ValueChanged that causes PB to do window refreshes ...
I know this is old, but I use this great gadget in one of my projects. After the project already is working for a while, I discovered an issue with this listicon control. If you do something within the cutom edit callback ValueChanged that causes PB to do window refreshes ...
- Wed Feb 07, 2018 12:36 pm
- Forum: The PureBasic Editor
- Topic: IDE crashes and removes itself from programfiles\purebasic
- Replies: 5
- Views: 2498
IDE crashes and removes itself from programfiles\purebasic
OS: Win7 prof. SP1 64 bit on a Core I7 with 32gByte of RAM
PB Ver. 5.62 64 bit
I have a *VERY* strange behaviour here and write it down here just to see if anyone else has seen something like this before:
I have a program that uses 99% PB functions and some windows API calls to do HTTPS get ...
PB Ver. 5.62 64 bit
I have a *VERY* strange behaviour here and write it down here just to see if anyone else has seen something like this before:
I have a program that uses 99% PB functions and some windows API calls to do HTTPS get ...
- Thu Feb 01, 2018 8:46 pm
- Forum: Tricks 'n' Tips
- Topic: [Module] PurePDF
- Replies: 39
- Views: 39212
Re: [Module] PurePDF
Dear normeus,
I do know and understand all this.
My question is regarding the opposite behaviour: I do not want to have two references to the same embedded file in the "Attachments" sidebar.
I observed that if you add a file annotation ( pdf_SetAFile() ) with the method from the Tutorial29, the ...
I do know and understand all this.
My question is regarding the opposite behaviour: I do not want to have two references to the same embedded file in the "Attachments" sidebar.
I observed that if you add a file annotation ( pdf_SetAFile() ) with the method from the Tutorial29, the ...
- Wed Jan 31, 2018 4:14 pm
- Forum: Tricks 'n' Tips
- Topic: [Module] PurePDF
- Replies: 39
- Views: 39212
Re: [Module] PurePDF
Hi Thorsten1867,
Not sure if you feel like the PurePDF maintainer now. So, if not, that's OK.
My question is around pdf_SetAFile()
According to manual and examples, this needs a FileID which, in turn, is returned by a call to pdf_EmbedFile()
(The manual does not document any return value for pdf ...
Not sure if you feel like the PurePDF maintainer now. So, if not, that's OK.
My question is around pdf_SetAFile()
According to manual and examples, this needs a FileID which, in turn, is returned by a call to pdf_EmbedFile()
(The manual does not document any return value for pdf ...