mcc2 1.5.1 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/mcc2/layout.rb +5 -3
- data/lib/mcc2/layout_file.rb +1 -3
- data/lib/mcc2/printer/svg_drawer.rb +3 -1
- data/lib/mcc2/version.rb +1 -1
- data/locales/en.yml +3 -7
- data/locales/rs.yml +2 -6
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6a08ba5a70ae6c9037682ade7613288e942d03f0414138363263774a629eb230
|
|
4
|
+
data.tar.gz: 92f09489f9bc5d51b219f9f8e759c88733b84879fdecbcfaa12e879b12fe506e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 82eb11ee4eb3970afe30618e14cc134853bf2cb421b50fb7ce9bb642476cfd439762fa2445933775111407e3a4e56f41a41893004654acb27309987b97591bf8
|
|
7
|
+
data.tar.gz: ba7b7fbfcfb13e1adf97cdf29e656d552b411332115960254ce9328e8f546ec8743af7863da1fb370865ccf5729578178a64b312a70972c205746506cce3ce97
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/mcc2/layout.rb
CHANGED
|
@@ -177,9 +177,11 @@ module Mcc2
|
|
|
177
177
|
unless layout_file.warnings.empty?
|
|
178
178
|
wa = layout_file.warnings.join("\n\n")
|
|
179
179
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
180
|
+
@parent.app.addChore do
|
|
181
|
+
msg_box = FXMessageBox.new(@parent.app, I18n.t(:open_layout_file_warning, default: "Warnung beim Laden von %{filename}", filename:), wa, opts: MBOX_OK, ic: loadImage("mcc2/images/messagebox_warning.png"))
|
|
182
|
+
msg_box.create
|
|
183
|
+
msg_box.show(PLACEMENT_OWNER)
|
|
184
|
+
end
|
|
183
185
|
end
|
|
184
186
|
end
|
|
185
187
|
|
data/lib/mcc2/layout_file.rb
CHANGED
|
@@ -282,9 +282,7 @@ PRINT 1
|
|
|
282
282
|
# and object's Y means the text baseline, not the bounding box.
|
|
283
283
|
if filever < 4
|
|
284
284
|
@warnings << I18n.t(:open_layout_old_text_box, default: <<~EOT)
|
|
285
|
-
Diese Datei
|
|
286
|
-
Die Rahmengröße der Textobjekte wurde nun automatisch auf den des Beispieltextes gesetzt.
|
|
287
|
-
Evtl. muss aber eine Anpassung für die variablen Daten erfolgen.
|
|
285
|
+
Diese Datei wurde mit MCC2 version < 1.5.0 erstellt und wurde nun konvertiert.
|
|
288
286
|
|
|
289
287
|
Bitte prüfen Sie, dass alle Texte an der richtigen Position stehen.
|
|
290
288
|
EOT
|
|
@@ -349,7 +349,9 @@ module Mcc2
|
|
|
349
349
|
if data && !data.empty?
|
|
350
350
|
font_info = get_font_info(font, go)
|
|
351
351
|
context = pango_font_map.create_context
|
|
352
|
-
|
|
352
|
+
context.resolution = dpi
|
|
353
|
+
context.round_glyph_positions = false
|
|
354
|
+
layout = Pango::Layout.new(context)
|
|
353
355
|
|
|
354
356
|
pango_font = get_pango_font(font_info, pt(fontsize))
|
|
355
357
|
layout.font_description = pango_font
|
data/lib/mcc2/version.rb
CHANGED
data/locales/en.yml
CHANGED
|
@@ -435,19 +435,15 @@ en:
|
|
|
435
435
|
Please set the correct data source type in the layout properties
|
|
436
436
|
and save the settings.
|
|
437
437
|
open_layout_old_barby: |
|
|
438
|
-
This file
|
|
438
|
+
This file uses Barby barcodes instead of the newer Zint barcodes.
|
|
439
439
|
|
|
440
440
|
Therefore, all barcodes must be checked and, if necessary, readjusted!
|
|
441
441
|
|
|
442
442
|
This warning will disappear once the file is saved.
|
|
443
443
|
open_layout_old_text_box: |
|
|
444
|
-
This file
|
|
444
|
+
This file was created with an MCC2 version < 1.5.0 and has now been converted.
|
|
445
445
|
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
However, adjustments may be necessary for the variable data.
|
|
449
|
-
|
|
450
|
-
Please verify that all text is positioned correctly.
|
|
446
|
+
Please verify that all text elements are in the correct position.
|
|
451
447
|
open_layout_version_error: The file %{filename} is structured according to version %{filever}, but this program can only process versions %{supported}.
|
|
452
448
|
preview_dpi_and_print_differ: The barcode DPI for the preview (%{preview_dpi}) and the print version (%{print_dpi}) differ. Please adjust the DPI and re-check the barcodes!
|
|
453
449
|
preview_error_printing_exception:
|
data/locales/rs.yml
CHANGED
|
@@ -441,13 +441,9 @@ rs:
|
|
|
441
441
|
|
|
442
442
|
Ово упозорење ће нестати када се датотека сачува.
|
|
443
443
|
open_layout_old_text_box: |
|
|
444
|
-
Ова датотека
|
|
444
|
+
Ова датотека је креирана помоћу верзије MCC2 < 1.5.0 и сада је конвертована.
|
|
445
445
|
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
Међутим, могу бити потребна подешавања за променљиве податке.
|
|
449
|
-
|
|
450
|
-
Молимо вас да проверите да ли је сав текст правилно позициониран.
|
|
446
|
+
Молимо вас да проверите да ли се сви текстуални елементи налазе на исправним позицијама.
|
|
451
447
|
open_layout_version_error: Датотека %{filename} је структурирана према верзији %{filever}, али овај програм може да обрађује само верзије %{supported}.
|
|
452
448
|
preview_dpi_and_print_differ: DPI вредности бар-кода за преглед (%{preview_dpi}) и верзију за штампу (%{print_dpi}) се разликују. Молимо вас да подесите DPI и поново проверите бар-кодове!
|
|
453
449
|
preview_error_printing_exception:
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|