Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabled text auto shrink break text alignment configuration #62

Open
horada opened this issue Jan 22, 2020 · 1 comment
Open

Enabled text auto shrink break text alignment configuration #62

horada opened this issue Jan 22, 2020 · 1 comment

Comments

@horada
Copy link

horada commented Jan 22, 2020

When I enable Auto shrink (Allow merge to automatically shrink text), the text is forced to be aligned to the left and it is not possible to center it or align it to the right.

You can see example of my configuration of the text area on this screenshot (see the Alignment configuration and Allow merge to automatically shrink text configuration):
gLabels_auto_shrink_and_alignment_text_configuration

And example output for various input data:
gLabels_output
If the input text is long enough to fill the text area, it works as expected (text is correctly resized to fit to the text area) - first and fourth label. But if the text is too short to fill whole text area, it is aligned to the left - second and third label.

@toggenation
Copy link

I'm seeing the same issue using glabels-3-batch when using the following versions compiled on Ubuntu 18.04.3 LTS

Text I set to auto-scale becomes left aligned

RUN apt-get -y build-dep glabels

RUN mkdir /build && cd /build &&
wget https://downloads.sourceforge.net/project/zint/zint/2.6.3/zint-2.6.3_final.tar.gz &&
tar -xvf zint-2.6.3_final.tar.gz &&
cd zint-2.6.3.src/ &&
mkdir build && cd build &&
cmake .. && make && make install

RUN cd /build &&
wget https://ftp.gnu.org/gnu/barcode/barcode-0.98.tar.gz &&
tar xzf barcode-0.98.tar.gz &&
cd barcode-0.98/ &&
./configure && make &&
make install

RUN cd /build &&
wget http://ftp.gnome.org/pub/GNOME/sources/glabels/3.4/glabels-3.4.1.tar.xz &&
tar xvf glabels-3.4.1.tar.xz &&
cd glabels-3.4.1/ &&
./configure &&
make && make install && ldconfig

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants