Hacker GitHub

← All repos

Const-me/nanovg

View on GitHub ↗ ★ 33 C

Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations.

12 mentions on Hacker News by 1 person: 0 stories, 12 comments · first 2019-07-14 · latest 2024-11-18

Mentions per year 12 mentions · busiest year 2019 (5)
20082026
  1. …is pretty good. BTW, when I needed it, I have ported C algorithm from fontstash library to C++: https://github.com/Const-me/nanovg/blob/master/src/FontStash...
  2. …to create texture atlases I copy-paste from Mikko Mononen. Here’s a C++ port of his C version: https://github.com/Const-me/nanovg/blob/master/src/FontStash...
  3. …patched NanoVG for optimal font quality on low resolution touch screen of my target Linux device: https://github.com/Const-me/nanovg
    comment by Const-me · 2023-11-14 · in .NET 8
  4. …is an awesome vector graphics library, but has limitations. (1) no ClearType, I fixed in my fork: https://github.com/Const-me/nanovg (2) The only way to get AA is hardware MSAA, unfortunately many popular platforms like Raspberry Pi don’t…
    comment by Const-me · 2021-08-12 · in So you want to write a GUI framework
  5. …NanoVG They’re similarities, I have copy-pasted a few text-related things from my fork of NanoVG: https://github.com/Const-me/nanovg/ However, Vrmac delivers much higher quality of 2D vector graphics (VAA, circular arcs, thin strokes,…
    comment by Const-me · 2021-03-16 · in 2D Graphics on Modern GPU (2019)
  6. …https://github.com/memononen/fontstash/blob/203fec2eb6a8905a... And ported from C to C++: https://github.com/Const-me/nanovg/blob/master/src/FontStash... Font atlas is required to be dynamic because Unicode has too many different…
  7. …couple years back, chose not to. I picked NanoVG (later on I’ve patched it a bit improving fonts https://github.com/Const-me/nanovg ), compiled a shared library, consumed from .NET Core, and implemented a GUI in C#, with animated…
  8. I once forked a C library, porting some parts to C++ in the process: https://github.com/Const-me/nanovg/ I’ve retained original C API, only used C++ in the implementation. Then I’ve got an e-mail from a developer who asked a few things how…
    comment by Const-me · 2019-12-08 · in How to write better game libraries
  9. …lack CPU and GPU power to handle high DPI. Here's a library I've made for an embedded Linux device: https://github.com/Const-me/nanovg At 5" 800x480, subpixel AA improved text a lot.
    comment by Const-me · 2019-09-29 · in Text Rendering Hates You
  10. …Or they’re rendered on CPU? Does it support ClearType-like font rendering, like this forked NanoVG? https://github.com/Const-me/nanovg/ Is there something comparable to WPF’s D3DImage to insert custom 3D content? In my custom library, I’ve…
    comment by Const-me · 2019-09-16 · in The Raspberry Beer’o’meter
  11. I recently needed that, too: https://github.com/Const-me/nanovg/ Also using FreeType, but unlike that article rendering on GPU, with ClearType. No advanced typography features are supported, though.
    comment by Const-me · 2019-07-21 · in Modern text rendering with Linux: Part 1
  12. Depends on the library. If it's a good one, makes sense to adopt, I sometimes do: https://github.com/Const-me/nanovg Some libraries have hundreds of megabytes of their own dependencies hard to remove. Some libraries have very low code…