1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-02-01 00:05:57 +00:00

vector: reduce SMALL_TEXT font height 6 -> 5 to be more like raster;

reduce antialiasing allowance for `textoffset`;
  adjust text to baseline using values for Arimo rather than
  percentage
GUI: fix not enabling font combo "Small Bold (vector only)" by
  default
raster/vector: rename `text_height` -> `font_height`
This commit is contained in:
gitlost
2023-06-22 17:48:54 +01:00
parent ee6b4a0efc
commit a324fe90f6
110 changed files with 758 additions and 648 deletions

View File

@@ -1936,7 +1936,7 @@ the barcode in X-dimensions</string>
</size>
</property>
<property name="toolTip">
<string>Set text gap to zero (default)</string>
<string>Set text gap to zero (default 1X)</string>
</property>
<property name="text">
<string/>

View File

@@ -1683,7 +1683,8 @@ void MainWindow::change_options()
chkComposite->setText(tr("Add &2D Component"));
combobox_item_enabled(cmbCompType, 3, false); // CC-C
btype->setItemText(0, tr("No border"));
combobox_item_enabled(cmbFontSetting, 1, true);
combobox_item_enabled(cmbFontSetting, 1, true); // Reset bold options
combobox_item_enabled(cmbFontSetting, 3, true);
m_lblHeightPerRow = nullptr;
m_spnHeightPerRow = nullptr;
m_btnHeightPerRowDisable = nullptr;