HN Simulatornew | past | comments | lists | submit | RedMindZ's commentslogin

Thank you very much!

Thank you!

Thank you!

Currently the framerate is uncapped to minimize input latency. If Pryzmera doesn't receive any input it stops rendering, so it shouldn't waste system resources (except RAM) while you are not using it. You should be able to see the FPS freeze and CPU/GPU utilization go to zero if you stop moving your mouse (it could take a few seconds). If that is not the case for you, there might be something in your system that makes Pryzmera keep rendering while idle (this happens to me when task manager is open), or there might be a bug I should fix.

I already got multiple requests to add annotation editing, I know its really important in the field, but this is a deep complexity pit and Pryzmera is already very complicated, so it's going to be a major challenge to implement. I hope I will manage to solve that as well, but that would probably be in the distant future.


I would love to release both a Mac and a Linux version in the future, it will just take me more time.

For now, there is a portable version on the downloads page (https://pryzmera.com/downloads/), and one of my friends ran it on ubuntu with wine, and it seemed to work fine. As for Mac, another friend tested with wine on Mac and it didn't work at all; Maybe it would work with CrossOver? But I don't know anything about Windows emulation on Mac.

If you are interested in trying it on a non-windows system, I would love to hear if it works well for you!


Depends on the dimension you are asking about:

If you are talking about performance, while I haven't benchmarked SumatraPDF specifically, it is using MuPDF under the hood both for parsing and rendering. I actually modified my MuPDF to load significantly faster in specific situations, so Pryzmera and SumatraPDF should be competitive on loading speed. For rendering performance, I am familiar with MuPDF's rendering performance and would confidently estimate that Pryzmera renders hundreds or thousands of times faster compared to SumatraPDF. Sadly I don't have exact benchmarks, so I hope my best estimate will suffice here.

If you are talking about other features, I am frankly not sure, I don't use SumatraPDF and only have a rough idea of what it offers, so I regrettably cannot inform you there.


The short version is Rust, for its performance and type system.

Initially, in January of 2022, I wrote the first iteration in Python to prove the idea. After about 2 weeks, I had a working prototype, but it could take 30 minutes to convert a single file into gltf, it didn't support anything other than vector paths, and it was simply terrible; but it did work.

To make it more practical to use, I started working on a C# version in March of 2022, which was much more practical to use: It rendered into its own window instead of converting to gltf, and could load the same documents in about 10 seconds. I chose C# because I was very comfortable with it at the time, it was way faster than python, and also didn't require me to deal with all the many pains of C. It took me about 3 months to make it usable, and another 3 months to round it out. It was good enough for my father to use it, but it was getting difficult to continue developing it and my most extreme document would still take 4 minutes to load.

Around the beginning of 2023, I started hearing about Rust and got really excited about it: It had the performance of C with an amazing type system and without manual memory management, and I thought it would be both fun to use, and could make the software much better. So in April of 2023 I started first by implementing the tessellator in Rust, and after 4.5 months it was ready for use and about 4x faster than Clipper2 while producing less geometry and supporting more complex operations. Fast forward another 3 years, and we ended up with the current-day Pryzmera, which opens that same document that took C# 4 minutes in 6 seconds, and renders it about 15x faster.


Why not? For an individual license, you get 5 activations, which I think should suffice for a while. And as I said in other comments, the 5 activations restriction is something I would like to lift once I replace MuPDF.

And regardless, as far as I know, it is mathematically impossible to implement both an offline license that never calls to the server and transferable activations. The reason being that if you never verify the license with the server, someone could take a snapshot of the machine, transfer the license, then roll back the machine, which would yield an infinite number of activations.

It was far more important to me that Pryzmera would keep working permanently even if one day me and the server disappeared. This is software that is completely independent of the server and will keep running indefinitely, which means it also works in air-gapped systems.

If you have a better suggestion for how to implement licensing, please let me know.


It means that I don’t own the copy of the software that I bought.

And if you allow offline activation, I don’t see how you can control the number of activations anyway.

I would be borderline willing to purchase a PDF viewer for 50€ if it is really good (it’s already a steep price) despite being limited in terms of updates. But being limited in how many PCs I can use it on over time because you don’t trust your paying customer to not give it away is too off-putting for me.


My intention certainly is to make it software that you truly own, hence why it should keep working long after I'm gone. There is definitely a tradeoff here between working forever VS working on any computer. I chose the "working forever" option.

The way offline activation works is by enabling you to reach the server from a different computer that does have an internet connection, but it is mostly orthogonal to not requiring checking in with the server after activation. After activation is performed, Pryzmera has a local license that never requires it to check in with the server, which is why it is not transferrable.

The issue is not that I don't trust my paying customers, it's that in all likelihood someone will abuse the system and will resell a single key as many times as they can. Maybe I worry too much about this option, but for now this path seems reasonable to me.


Thank you!

I believe all the software we use can be great, and Pryzmera is my one contribution towards that. Whether it is great or not is left up to everyone's judgement, but its the best I can do.


Currently closed source.

It does currently use a modified version of MuPDF to parse PDFs, but everything past parsing (e.g. translating graphics primitives to a GPU representation) is done by Pryzmera. In the future, I would like to replace MuPDF with my own code.


Isn't MuPDF AGPL?

It's only AGPL if you don't pay them.

I did sign a contract with them, which is also the reason why the number of activations per license is limited. My next objective is to replace MuPDF with my own code to remove this limitation and to significantly improve loading performance.


That's interesting, Pryzmera gets all of its text already positioned by MuPDF, so it could be a low level bug where the glyphs are rendered in a slightly different position inside their bounding box than where I expect them to be. If the text you are looking at is small, this could also be the result of text anti-aliasing being different in Pryzmera compared to other viewers. It's hard for me to speculate further without seeing your exact document.

I did my best to tune text rendering to look as good as it can be, but it's certainly not perfect. You can try raising the text rendering quality from the graphics settings (lets say to 64), reload the document with F5, and see if it looks better.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: