Forum Replies Created
-
AuthorPosts
-
fsgueglCustomer
I think I’ll have to go back to 3.9 anyway! :(
Solved the initial problems of malfunction due to reading the projects saved in json, now I notice problems on the execution of (puzzle) exec scripts where I have a lot of code.
I made a video to show the difference in the functioning of a script that manages the text (converting it in real time into a puzzle) and justifying it.In the first part of the video you can see a small introduction that shows the script that performs the management of the text in texturing and starts the simulation in 4.1.1. ( is the same in 3.9)
You noted that the writings are not justified. As I type the characters they accumulate on the same line without following the code that regulates the spacing and the carriage return.
Then the same book project is loaded in version 3.9 and you can see how the text is arranged in a completely different way and when it is re-typed it follows the spacing and wrapping correctlyfsgueglCustomerand this is the final pearl I needed!
I don’t know how to thank you more than I already did!
thanks!!!
FrancofsgueglCustomerThanks a lot KDV!!!
Deleting this 3 rows from “loaddata” function, all work as before,
using ETB extension and with “readJSON from” loaded data.ia also have attached an ETB sample file
thanks again and
have great days!
FrancoAttachments:
You must be logged in to view attached files.fsgueglCustomerThanks for the tip and the link, KDV.
I have read the post, surely what is mentioned is related to what is also happening to my app.
But I tried to do as suggested in the post and nothing happened,
the “load data” function kept returning error.Just few word concerning my files…the template files that are loaded ind the app and the projects that users can save (the structure is identical) are saved in files(json) that have the ETB extension, which is something I had created to tie it to the company name.
I found that what actually happens is that this extension does not like the “load data” function.
If I tried changing the extension from “.ETB” to “.json” the “load data” function did the job correctly!!!But this complicates my life a lot. I have many templates, about a hundred, that I should modify, but the biggest problem is that customers who have downloaded their project with the ETB extension if they try to reload it all crashes.
I have to search a solution to maintain ETB extension for my file
fsgueglCustomerhI Yuri,
thanks for this new release!
I’m trying to port my 3.9 app on 4.1.1.
The project data is loaded and, subsequently saved or reloaded, from a file with the “load data” “puzzle”.
The user can also upload book templates to be configured through this procedure.
Now, however, the “load data” function gives me an error and, of course, fails to read the json data.
the error:
visual_logic.js: 1685Uncaught TypeError: Cannot read properties of null (reading ‘indexOf’)
at req.onreadystatechangeI did something wrong during porting?
I have one more thing to ask.
Regarding the compression of textures, how do I activate it for an existing app?
I saw that for a new app there is a check to put, but for an app that comes from version 3.9 what happens? Does it work normally without intervention?thanks
FrancofsgueglCustomerThanks a lot, Yuri.
Now there is a new menu interface.
fsgueglCustomerResolved,
I used JS to write a simple alternative routine to “openfile”, “loaded data” and “send data”; these returned the content with an incorrect charset.
fsgueglCustomerHi Yuri,
did you have some time to look at what I sent you?
fsgueglCustomerI probably expressed myself badly.
I have attached a zip file to you which contains:
confronto1.jpg:
image where you can see the text being entered and the text as it
appears after reloading it with “open file” puzzle.confronto2.jpg
where you can see how the text looks after loading in the
inspection where I put 2 “print to console” containing exactly all
the uploaded file and where you can see that the characters are
not encoded correctly.FILE_SAVED.ETB
It is the file where all the data is saved and it is the same one
that was loaded in the example I showed you. You will notice that
the characters are correct and that the format is UTF8Attachments:
You must be logged in to view attached files.fsgueglCustomerUpgrade,
Hi Yuri,
after some time I return to this problem which remained one of the few before going online with the site (expected end of March).
I did some more in-depth tests and I am sure that the problem is in the “open file / load data” module.
I saved the file with an explicit utf8 encoding.
I checked that the encoding was correct on the saved file.
The file is correctly loaded if I just “load data” with the url from the server.
It is converted incorrectly if I load it using “open file / load data” from the PC.
Is there a way to dictate the type of encoding to be implemented on the “open data” puzzle? Otherwise I will solve by writing a JS routine in place of this puzzle.
Thank you!Franco
fsgueglCustomerThese are fantastic improvements, Yuri !!
Great!
I spent my time just to create a routine to generate multiline, aligned, justified, spaced text canvases … etc, etc!Beautiful, I can’t wait to try them.
You also anticipated the part of the performances optimizations that I was working on in these days.Great job, Yuri, as always !!!!
fsgueglCustomerI made a new test
I chose the file from server (everything ok)
I saved the file locally and i chose it for data upload (mismatched characters)
I moved the local file to the server and reloaded it (all ok)There is some anomalies in the two ways of loading the file, I think:
the local one and the one via url.fsgueglCustomerThanks for your answer Yuri and Pascal,
I have explicitly loaded all the fonts that are used in the application.
But the strange thing is that the file we are seeing in the two cases is the same. It’s a file that I saved on the server and then downloaded locally.
When I load the one on the server everything is fine, when I load its twin locally there are problems. -
AuthorPosts