technosaurus
technosaurus
I wrote an example image viewer using libxcb and libxcb-image.... Hopefully it answers some questions https://gist.github.com/technosaurus/7e431ad8206ec1deb97e
My intent here was to convert text tags into a path which nanosvg can already handle. I was hoping to get feedback on how to handle various attributes such as...
Why is stdio.h included at all?
With the binary search, you might as well just integrate the first 10 values into the table and have separate ifdef'ed tables for the reduced color support case.
Would you mind posting patches inline so we can just read them? ``` > ```patch > your code here > ``` ```
I understand where you are coming from, however it would be beneficial to have the possibility to define macro alternatives and a way to omit stdio... something like: ```c #if...
static inline float Requantize_Pow_43(unsigned x) returns x^(4/3) This could be a simplified to 16(x/8)^4/3 or 256(x/64)^4/3 Which means the lookup table could be reduced in size. However pow(x,4.0f/3.0f) ==> cbrt((x_x)_(x*x));...
If you do this with the README files in ./toys/*/ don't forget to modify the genconfig.sh (i think that's the name of it) script to look for toys/*/README* instead of...
As a proof of concept, I started separating individual libs into their own projects at github.com/technosaurus/stb_* I have a few left to go, notably stb.h, because a) it may interfere...
@onitake Does this help? https://github.com/technosaurus/stb_image/releases/tag/v2.19 If so, I can tag a release for the others.