Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Fix stencil strokes and update to latest nanovg #5

Merged
merged 59 commits into from
Feb 13, 2022

Commits on Feb 10, 2020

  1. Fixes the issue that font size is inconsistent.

    This commit fixes the issue that font size is inconsistent between different font files. `stb_truetype.h` is also updated to the latest version to support additional font types such as OpenType fonts.
    olliwang committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    69e1a47 View commit details
    Browse the repository at this point in the history
  2. Merge pull request memononen#558 from olliwang/font

    Fixes the issue that font size is inconsistent.
    memononen authored Feb 10, 2020
    Configuration menu
    Copy the full SHA
    b2337d9 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2020

  1. Support for loading a certain font face from a font file.

    This commit allows loading a certain font face from a font collection file such as TTC.
    olliwang committed Feb 20, 2020
    Configuration menu
    Copy the full SHA
    8851f02 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2020

  1. Merge pull request memononen#559 from olliwang/font

    Support for loading a certain font face from a font file.
    memononen authored Feb 25, 2020
    Configuration menu
    Copy the full SHA
    4ae538b View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2020

  1. Configuration menu
    Copy the full SHA
    5a006cd View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2020

  1. Configuration menu
    Copy the full SHA
    528dc4e View commit details
    Browse the repository at this point in the history
  2. Merge pull request memononen#561 from olilarkin/rendertriangles_fringe

    Pass fringe parameter to renderTriangles
    memononen authored Feb 28, 2020
    Configuration menu
    Copy the full SHA
    f3825a0 View commit details
    Browse the repository at this point in the history
  3. Support for resetting fallback fonts.

    This commit adds `nvgResetFallbackFontsId()` and `nvgResetFallbackFonts()` functions for resetting fallback fonts.
    olliwang committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    c519ae5 View commit details
    Browse the repository at this point in the history
  4. Merge pull request memononen#560 from olliwang/font

    Support for resetting fallback fonts.
    memononen authored Feb 28, 2020
    Configuration menu
    Copy the full SHA
    492df63 View commit details
    Browse the repository at this point in the history
  5. Fixes demo’s font sizes.

    This commit fixes the demo’s font sizes for the changes in memononen#558, which makes the rendered font size matches what you saw on other native apps. The demo used bigger font sizes than they actually were. This commit deduces the font sizes to match the original demo’s look.
    olliwang committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    79561dc View commit details
    Browse the repository at this point in the history
  6. Merge pull request memononen#563 from olliwang/linegap

    Fixes the issue that line gap may ruin the text layout.
    memononen authored Feb 28, 2020
    Configuration menu
    Copy the full SHA
    db50e12 View commit details
    Browse the repository at this point in the history
  7. Merge pull request memononen#564 from olliwang/demo

    Fixes demo’s font sizes.
    memononen authored Feb 28, 2020
    Configuration menu
    Copy the full SHA
    6570b56 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2020

  1. Bind a dummy texture in setUniforms when compiling with emscripten

    fixes the WebGL error "RENDER WARNING: there is no texture bound to the unit 0"" in Chrome
    olilarkin committed Mar 2, 2020
    Configuration menu
    Copy the full SHA
    d98041b View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2020

  1. Configuration menu
    Copy the full SHA
    3e986cd View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2020

  1. Fixed nvgTextBreakLines returning bad minx

    - nvgTextBreakLines: wordMinX was relative to rowStartX, which caused
    problems when rowStartX change on line break, but wordMinX was still
    relative to the previous rowStartX
    - fixed font size on perf graphs
    - made demo to use row minx/maxx instead of row->width
    - fixed demo hover distance
    memononen committed Mar 7, 2020
    Configuration menu
    Copy the full SHA
    e281ffc View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2020

  1. Configuration menu
    Copy the full SHA
    35dbc98 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2020

  1. Merge pull request memononen#567 from olilarkin/fix-webgl-warning

    Bind a dummy texture in setUniforms when compiling with emscripten
    memononen authored Mar 11, 2020
    Configuration menu
    Copy the full SHA
    bff4734 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2020

  1. Configuration menu
    Copy the full SHA
    426aa3f View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2020

  1. Fixed Signed/Unsigned Comparison Warning

    In Visual Studio 17, I get warnings related to these variables:
    ````
    fontstash.h(241): warning C4018: '<': signed/unsigned mismatch
    fontstash.h(242): warning C4018: '<': signed/unsigned mismatch
    ````
    
    Making them unsigned fixes it.
    geoffthemedio authored Mar 20, 2020
    Configuration menu
    Copy the full SHA
    52265fe View commit details
    Browse the repository at this point in the history
  2. Merge pull request memononen#573 from geoffthemedio/patch-1

    Fixed Signed/Unsigned Comparison Warning
    memononen authored Mar 20, 2020
    Configuration menu
    Copy the full SHA
    2bead03 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2020

  1. Configuration menu
    Copy the full SHA
    4c7eb2f View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2020

  1. Removed CMakeLists.txt

    xqueezeme committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    0fa06d9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request memononen#587 from christophe-f8/master

    Added a preprocessor definition to disable the use of stb_image
    memononen authored Sep 16, 2020
    Configuration menu
    Copy the full SHA
    e628d62 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2020

  1. Configuration menu
    Copy the full SHA
    30b9f3e View commit details
    Browse the repository at this point in the history
  2. Merge pull request memononen#588 from d4tocchini/freetype-hint-fix

    fix for freetype glyph loading
    memononen authored Oct 1, 2020
    Configuration menu
    Copy the full SHA
    a90ccc2 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2020

  1. Single-byte typo fix

    Iniquitatis authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    fb78593 View commit details
    Browse the repository at this point in the history
  2. Merge pull request memononen#591 from Iniquitatis/patch-1

    Single-byte typo fix
    memononen authored Nov 5, 2020
    Configuration menu
    Copy the full SHA
    c35e80c View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2020

  1. Configuration menu
    Copy the full SHA
    621e0b8 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2020

  1. less whitespace

    codeon-nat committed Dec 21, 2020
    Configuration menu
    Copy the full SHA
    0faac6f View commit details
    Browse the repository at this point in the history
  2. Merge pull request memononen#601 from mulle-nat/fxingtabs

    Fixed text vanishing when the transform is vertically flipped
    memononen authored Dec 21, 2020
    Configuration menu
    Copy the full SHA
    e906c5b View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2020

  1. New ci.yml. Build nanovg on every push on ubuntu.

    Does not build examples (yet), due to technical
    problems with the older ubuntu version being used
    by github.
    mulle-nat committed Dec 25, 2020
    Configuration menu
    Copy the full SHA
    0bfd2c2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request memononen#604 from mulle-nat/ci

    Continous Integration for nanvog
    memononen authored Dec 25, 2020
    Configuration menu
    Copy the full SHA
    077b65e View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2021

  1. Update fontstash.h

    * change call order in `fonsDeleteInternal` so that free memory isn't passed to `fons__tt_done`
    mulle-nat authored Oct 31, 2021
    Configuration menu
    Copy the full SHA
    ba85215 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2021

  1. Merge pull request memononen#620 from mulle-nat/mulle-nat-patch-fonsD…

    …eleteInternal
    
    Update fontstash.h
    memononen authored Nov 1, 2021
    Configuration menu
    Copy the full SHA
    e75cf72 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2021

  1. Fixes FreeType errors when dealing with multiple NVGcontext objects.

    Originally there is only a shared `FT_Library` object. However, if we create multiple `NVGcontext` objects and as soon as we delete one, the shared `FT_Library` object will be released, too. And that would cause a problem for the rest of `NVGcontext` objects.
    olliwang committed Dec 2, 2021
    Configuration menu
    Copy the full SHA
    0b37350 View commit details
    Browse the repository at this point in the history
  2. Merge pull request memononen#621 from olliwang/freetype

    Fixes FreeType errors when dealing with multiple NVGcontext objects.
    memononen authored Dec 2, 2021
    Configuration menu
    Copy the full SHA
    645e914 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2022

  1. Fixes stbtt implemention.

    This commit fixes the issue mentioned by memononen@0b37350#r63095702
    olliwang committed Jan 9, 2022
    Configuration menu
    Copy the full SHA
    2615db0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request memononen#623 from olliwang/stbtt

    Fixes stbtt implemention
    memononen authored Jan 9, 2022
    Configuration menu
    Copy the full SHA
    5f65b43 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2022

  1. Configuration menu
    Copy the full SHA
    19ccd37 View commit details
    Browse the repository at this point in the history
  2. Add single CMakeLists.txt and fix MSVC build.

    Modify the demo to generate more CPU and GPU for perf comparison.
    nidefawl committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    6dde2b3 View commit details
    Browse the repository at this point in the history
  3. Add glad, use instead of glew.

    Allow switching between the two.
    The glad binary FPS is 1% higher than glew for some reason
    nidefawl committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    29881ab View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e847cb6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3a8bb9d View commit details
    Browse the repository at this point in the history
  6. Fix stencil strokes

    nidefawl committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    67f3a25 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ede605a View commit details
    Browse the repository at this point in the history
  8. Fix warnings

    nidefawl committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    63296d1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    aeb045d View commit details
    Browse the repository at this point in the history
  10. Fix GL3 demo antialias

    nidefawl committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    e88241e View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2022

  1. Don't enable Validation Layer in debug builds.

    Vulkan Configurator provides a better way to control debug logging.
    nidefawl committed Feb 11, 2022
    Configuration menu
    Copy the full SHA
    cfc287e View commit details
    Browse the repository at this point in the history
  2. Update examples cmake

    nidefawl committed Feb 11, 2022
    Configuration menu
    Copy the full SHA
    5e54ab7 View commit details
    Browse the repository at this point in the history
  3. Vulkan performance improvements.

    Use minimum 3 images in swapchain.
    Change submit barrier from ALL_GRAPHICS_BIT to COLOR_ATTACHMENT_OUTPUT.
    nidefawl committed Feb 11, 2022
    Configuration menu
    Copy the full SHA
    ce266ea View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0ef71b5 View commit details
    Browse the repository at this point in the history
  5. Merge latest nanovg

    nidefawl committed Feb 11, 2022
    Configuration menu
    Copy the full SHA
    bddcb83 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5bb4852 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0ae220f View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2022

  1. Fix MSAA flag in GL3

    nidefawl committed Feb 12, 2022
    Configuration menu
    Copy the full SHA
    4827a03 View commit details
    Browse the repository at this point in the history
  2. Whitespace

    nidefawl committed Feb 12, 2022
    Configuration menu
    Copy the full SHA
    95993ef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d52aee4 View commit details
    Browse the repository at this point in the history
  4. Disable CI

    nidefawl committed Feb 12, 2022
    Configuration menu
    Copy the full SHA
    6e08375 View commit details
    Browse the repository at this point in the history