glabels icon indicating copy to clipboard operation
glabels copied to clipboard

Enabled text auto shrink break text alignment configuration

Open horada opened this issue 5 years ago • 1 comments

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.

horada avatar Jan 22 '20 07:01 horada

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

toggenation avatar Mar 28 '20 03:03 toggenation