Skip to content

MyGUI 3.5.1

Choose a tag to compare

@Altren Altren released this 31 Jul 20:10
· 343 commits to master since this release

Core

  • ResourceTrueTypeFont: implement AutoDpi property for automatic DPI scaling
  • ResourceTrueTypeFont: fix inaccurate texture size computation with MSDF fonts
  • ResourceTrueTypeFont: fix MSDF font dynamic kerning
  • ResourceTrueTypeFont: fix edge cases when rendered glyph size doesn't match glyph info size

Platforms

  • OpenGL: use glad for OpenGL and OpenGL3 platforms on Windows
  • OpenGL: Do not call glViewport in Platform code, as this is user responsibility
  • Fix GL3 tools/demos on macOS
  • Fix OpenGL, OpenGL ES, and OpenGL3 RTT textures clearing to opaque black instead of transparent

Tools

  • FontConverter: new headless CLI tool that converts a ResourceTrueTypeFont XML into a ResourceManualFont XML + PNG atlas
  • FontEditor: allow displaying MSDF fonts
  • FontEditor: disallow generating invalid fonts
  • FontEditor: disable font properties in property panel when they are not applicable to current MsdfMode
  • Fix tool boolean property display issue
  • Save UTF-8 without BOM in tools
  • Implement FilterNone for all platforms
  • LayoutEditor: remove duplicate classes (TextureControl, TextureToolControl, SelectorControl, AreaSelectorControl,
    PositionSelectorControl), now using EditorFramework versions
  • LayoutEditor: convert remaining controls from BaseLayout to Control base class pattern
  • LayoutEditor: respect DPI scale in WorkspaceControl

Demos

  • Implement high DPI scaling for demos and tools (can be used to scale entire GUI, see readme for details)
  • Fix skins for high DPI (fix color bleed)
  • Allow running apps from any working directory

Infrastructure

  • Add MYGUI_BUILD_RENDERSYSTEMS to build multiple render system platform libraries at once (e.g. -DMYGUI_BUILD_RENDERSYSTEMS="7;3")
  • Add vcpkg.json
  • Extend CI coverage to Windows static/shared build with all features and tools
  • Add Ogre builds
  • Fix build with fetched msdfgen on Windows
  • Fix wrapper build with CMake
  • Generate a public MyGUI_Config.h with the build options as defines, so non-CMake users get the correct settings (MYGUI_STATIC, MYGUI_USE_FREETYPE, MYGUI_MSDF_FONTS, MYGUI_DONT_USE_OBSOLETE)