Gleb Mazovetskiy
Gleb Mazovetskiy
A font is roughly a collection of images and checking if an image exists in the collection is pretty basic functionality? Of course it's doable in other ways but: 1....
I'm using freetype-py for this at the moment, it'd just be nice to be able to do everything via pillow. https://github.com/diasurgical/devilutionx-font-converter/blob/ac0f0e48bd690ace783c6c1b16e52b569e46f551/src/devilutionx_font_converter/convert.py#L178-L183 It'd also be nice if glyph properties (such as...
I'm using pillow to generate textured bitmap fonts for a game from OTF fonts. For later rendering in-game, the width of each rasterized glyph should be its horizontal advance, which...
Ah, yeah, that indeed looks like exactly what I need. Thanks Andrew!
Can you try a RelWithDebInfo build? That'll give a more readable stack trace
mp4 is a container format and can hold various types of video and audio encoding internally. Do you happen to know how the mp4 video is encoded? You can generally...
I didn't read properly -- so the source video is VOB and you want it to be playable in-game using a modern format. Perhaps something like webm would be a...
It'd be excessive complexity for a minor improvement, not so unusual for DevilutionX :) In terms of the difficulty of implementation, it'd be similar to the existing video code at...
It's currently hardcoded to "lib" here: https://github.com/diasurgical/devilutionX/blob/d6c81898d6a82459d2ec3a8345fc3b4f4efb10c8/CMakeLists.txt#L629-L631 I'm guessing we should use some kind of variable instead but I'm not sure which one. We can try `"${CMAKE_INSTALL_LIBDIR}"`.
Looks like we somehow need to tell the CPack RPM generator to use RPM's `%{_libdir}` macro but I haven't figured out a way to do this. Command to build RPM...