Jaye Evins 993e1e460d Tweaks to glabels-3 text object compatability. (#306)
This commit partially addresses issues in #296.  Due to the fact that glabels-3
and glabels-4 use different underlying technologies for rendering text, a
pixel-perfect import can probably never be fully achieved.

This commit focuses on small adjustments to imported text objects to approximate
the visual appearance of these objects.

- glabels-3 rendered text at 75% of stated font size, compensate by adjusting
  font size of imported object.
- Text boxes behave differently in glabels-4 than in glabels-3.  In glabels-4,
  text boxes must be of a fixed size, so compensate when a variable sized
  box (when w=0 and/or h=0) is detected and fix the size to the natural text
  size.
- In glabels-3, the fixed margin size (3pt) was not used in the text baseline
  calculations.  Compensate by adjusting vertical position of imported text
  object.
2026-02-05 18:45:18 -05:00
2026-01-28 17:49:27 -05:00
2026-01-07 19:43:34 -05:00
2026-01-07 19:43:34 -05:00

Important

This repo is for glabels-qt, NOT the legacy glabels-3 version (which I have not maintained since 2018).

gLabels Label Designer

Cover Image

Multi-Platform Build Tests


What is gLabels-qt?

gLabels-qt is the development version of the next major version of gLabels (a.k.a. glabels-4).

What's new in gLabels 4?

  • A complete rewrite, based on the Qt6 framework.
  • A new UI layout based on common activities.
  • Cross-platform support
  • User-defined variables
  • Support for continuous-roll labels
  • Many new product templates

Download

Latest Release

There are currently no official releases of gLabels 4.

Continuous Integration Snapshots

Currently there are no self-hosted binary snapshot releases available. I plan to make these available again once 4.0 is more imminent. In the mean time, I encourage you to try building the code yourself.

Some third-party packages may be available:

Platform Files Notes
Archlinux Archlinux User Repository Page Maintained by Maud Spierings
Ubuntu PPA Page Maintained by Kristopher Ives
Fedora Copr Repository Page Maintained by Mario Blättermann

Build Instructions

Help Needed

Please see docs/CONTRIBUTING.md.

License

gLabels-qt is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

gLabels-qt is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

See LICENSE in this directory.

The following sub-components are also made available under less restrictive licensing:

Glbarcode

gLabels-qt currently includes a version of the glbarcode++ library, located in the "glbarcode/" subdirectory. It is licensed under the GNU LESSER GENERAL PUBLIC LICENSE (LGPL); either version 3 of the License, or (at your option) any later version. See glbarcode/LICENSE.

Template Database

The XML files in the "templates/" subdirectory constitute the glabels label database. No copyright is claimed on the facts contained within the database and can be used for any purpose. The files themselves are licensed using the MIT/X license. See templates/LICENSE.

S
Description
Deployment fork of glabels-qt (Qt label designer; upstream: github.com/j-evins/glabels-qt by the glabels.org team). main = upstream/master + sethLabels scaffold.
Readme 9.5 MiB
2026-04-29 15:53:32 +00:00
Languages
C++ 96.2%
CMake 2%
Shell 1.3%
Roff 0.3%
Python 0.2%