Skip to content

Commit 18812e6

Browse files
committed
Extend recent SVG improvements to EMF/WMF
- EMF and WMF (Windows metafiles) now provide a "choose custom dimensions" dialog when imported - Embedded EMF and WMF sizes can now be overridden with user-defined import sizes during batch conversions - EMF and WMF previews now work correctly in the batch process dialog (when creating the list of images to be processed) To minimize code requirements, these formats simply "hijack" the normal SVG import dialog and make a few changes to make it work with Windows metafiles instead.
1 parent 5db2e58 commit 18812e6

19 files changed

Lines changed: 240 additions & 113 deletions

‎App/PhotoDemon/Languages/French.xml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<langid>fr-FR</langid>
88
<langname>Français</langname>
9-
<langversion>6.7.603</langversion>
9+
<langversion>6.7.604</langversion>
1010
<langstatus>Complete</langstatus>
1111

1212
<author>Jean Jacques Piedfort (orig. Frank Donckers)</author>
@@ -7171,7 +7171,7 @@ La mise à jour est traitée automatiquement en arrière-plan. Vous recevrez une
71717171
<translation>%1 options</translation>
71727172
</phrase>
71737173

7174-
<!-- Dialog_SVGImport.frm contains 3 phrases. One was a duplicate of an existing phrase, so only 2 new phrases were written to file. -->
7174+
<!-- Dialog_SVGImport.frm contains 5 phrases. 3 were duplicates of existing phrases, so only 2 new phrases were written to file. -->
71757175

71767176
<phrase>
71777177
<original>HDR image identified</original>
@@ -14043,8 +14043,8 @@ Si vous choisissez de désactiver les mises à jour, n'oubliez pas de visiter ph
1404314043

1404414044
<phrasecount>2653</phrasecount>
1404514045

14046-
<!-- As of this build, PhotoDemon contains 5563 phrases. -->
14047-
<!-- 2910 are duplicates, so only 2653 unique phrases have been written to file. -->
14046+
<!-- As of this build, PhotoDemon contains 5565 phrases. -->
14047+
<!-- 2912 are duplicates, so only 2653 unique phrases have been written to file. -->
1404814048
<!-- These 2653 phrases contain approximately 11461 total words. -->
1404914049

1405014050
</pdData>

‎App/PhotoDemon/Languages/German.xml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<langid>de-DE</langid>
88
<langname>Deutsch (German)</langname>
9-
<langversion>9.0.25</langversion>
9+
<langversion>9.0.26</langversion>
1010
<langstatus>Up-to-date</langstatus>
1111

1212
<author>rk (ehem. Frank Donckers, Helmut Kuerbiss)</author>
@@ -7173,7 +7173,7 @@ Das Update wird automatisch im Hintergrund verarbeitet. Sie werden eine neue Ben
71737173
<translation>%1-Optionen</translation>
71747174
</phrase>
71757175

7176-
<!-- Dialog_SVGImport.frm contains 3 phrases. One was a duplicate of an existing phrase, so only 2 new phrases were written to file. -->
7176+
<!-- Dialog_SVGImport.frm contains 5 phrases. 3 were duplicates of existing phrases, so only 2 new phrases were written to file. -->
71777177

71787178
<phrase>
71797179
<original>HDR image identified</original>
@@ -14028,8 +14028,8 @@ Wenn Sie sich dennoch dafür entscheiden, Updates zu deaktivieren, vergessen Sie
1402814028

1402914029
<phrasecount>2653</phrasecount>
1403014030

14031-
<!-- As of this build, PhotoDemon contains 5563 phrases. -->
14032-
<!-- 2910 are duplicates, so only 2653 unique phrases have been written to file. -->
14031+
<!-- As of this build, PhotoDemon contains 5565 phrases. -->
14032+
<!-- 2912 are duplicates, so only 2653 unique phrases have been written to file. -->
1403314033
<!-- These 2653 phrases contain approximately 11461 total words. -->
1403414034

1403514035
</pdData>

‎App/PhotoDemon/Languages/Indonesian.xml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<langid>indo-ID</langid>
88
<langname>Indonesian</langname>
9-
<langversion>8.9.1710</langversion>
9+
<langversion>8.9.1711</langversion>
1010
<langstatus>90% complete</langstatus>
1111

1212
<author>Ari Sohandri Putra</author>
@@ -7159,7 +7159,7 @@ Pembaruan otomatis pengolahan di latar belakang. Anda akan menerima pemberitahua
71597159
<translation></translation>
71607160
</phrase>
71617161

7162-
<!-- Dialog_SVGImport.frm contains 3 phrases. One was a duplicate of an existing phrase, so only 2 new phrases were written to file. -->
7162+
<!-- Dialog_SVGImport.frm contains 5 phrases. 3 were duplicates of existing phrases, so only 2 new phrases were written to file. -->
71637163

71647164
<phrase>
71657165
<original>HDR image identified</original>
@@ -14010,8 +14010,8 @@ Jika anda masih memilih untuk melumpuhkan Perbarui, jangan lupa untuk mengunjung
1401014010

1401114011
<phrasecount>2653</phrasecount>
1401214012

14013-
<!-- As of this build, PhotoDemon contains 5563 phrases. -->
14014-
<!-- 2910 are duplicates, so only 2653 unique phrases have been written to file. -->
14013+
<!-- As of this build, PhotoDemon contains 5565 phrases. -->
14014+
<!-- 2912 are duplicates, so only 2653 unique phrases have been written to file. -->
1401514015
<!-- These 2653 phrases contain approximately 11461 total words. -->
1401614016

1401714017
</pdData>

‎App/PhotoDemon/Languages/Italian.xml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<langid>it-IT</langid>
88
<langname>Italiano</langname>
9-
<langversion>8.9.1618</langversion>
9+
<langversion>8.9.1619</langversion>
1010
<langstatus>Completa</langstatus>
1111

1212
<author>GioRock, ManfroMarce</author>
@@ -7171,7 +7171,7 @@ Tl'aggiornamento viene elaborato automaticamente in background. Riceverai una n
71717171
<translation>%1 opzioni</translation>
71727172
</phrase>
71737173

7174-
<!-- Dialog_SVGImport.frm contains 3 phrases. One was a duplicate of an existing phrase, so only 2 new phrases were written to file. -->
7174+
<!-- Dialog_SVGImport.frm contains 5 phrases. 3 were duplicates of existing phrases, so only 2 new phrases were written to file. -->
71757175

71767176
<phrase>
71777177
<original>HDR image identified</original>
@@ -14037,8 +14037,8 @@ Se si sceglie comunque di disabilitare gli aggiornamenti, non dimenticate di vis
1403714037

1403814038
<phrasecount>2653</phrasecount>
1403914039

14040-
<!-- As of this build, PhotoDemon contains 5563 phrases. -->
14041-
<!-- 2910 are duplicates, so only 2653 unique phrases have been written to file. -->
14040+
<!-- As of this build, PhotoDemon contains 5565 phrases. -->
14041+
<!-- 2912 are duplicates, so only 2653 unique phrases have been written to file. -->
1404214042
<!-- These 2653 phrases contain approximately 11461 total words. -->
1404314043

1404414044
</pdData>

‎App/PhotoDemon/Languages/Macedonian.xml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<langid>mk-MK</langid>
88
<langname>Македонски</langname>
9-
<langversion>8.9.1712</langversion>
9+
<langversion>8.9.1713</langversion>
1010
<langstatus>80% complete</langstatus>
1111

1212
<author>Бобан Ѓерасимоски</author>
@@ -7163,7 +7163,7 @@ The update is automatically processing in the background. You will receive a ne
71637163
<translation></translation>
71647164
</phrase>
71657165

7166-
<!-- Dialog_SVGImport.frm contains 3 phrases. One was a duplicate of an existing phrase, so only 2 new phrases were written to file. -->
7166+
<!-- Dialog_SVGImport.frm contains 5 phrases. 3 were duplicates of existing phrases, so only 2 new phrases were written to file. -->
71677167

71687168
<phrase>
71697169
<original>HDR image identified</original>
@@ -14016,8 +14016,8 @@ If сеуште изберете да го исклучите ажурирања
1401614016

1401714017
<phrasecount>2653</phrasecount>
1401814018

14019-
<!-- As of this build, PhotoDemon contains 5563 phrases. -->
14020-
<!-- 2910 are duplicates, so only 2653 unique phrases have been written to file. -->
14019+
<!-- As of this build, PhotoDemon contains 5565 phrases. -->
14020+
<!-- 2912 are duplicates, so only 2653 unique phrases have been written to file. -->
1402114021
<!-- These 2653 phrases contain approximately 11461 total words. -->
1402214022

1402314023
</pdData>

‎App/PhotoDemon/Languages/Master/MASTER.xml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<langid>en-US</langid>
88
<langname>English (US) - MASTER COPY</langname>
9-
<langversion>9.1.75</langversion>
9+
<langversion>9.1.78</langversion>
1010
<langstatus>Automatically generated from PhotoDemon's source code</langstatus>
1111

1212
<author>Tanner Helland</author>
@@ -7120,7 +7120,7 @@ The update is automatically processing in the background. You will receive a ne
71207120
<translation></translation>
71217121
</phrase>
71227122

7123-
<!-- Dialog_SVGImport.frm contains 3 phrases. One was a duplicate of an existing phrase, so only 2 new phrases were written to file. -->
7123+
<!-- Dialog_SVGImport.frm contains 5 phrases. 3 were duplicates of existing phrases, so only 2 new phrases were written to file. -->
71247124

71257125
<phrase>
71267126
<original>HDR image identified</original>
@@ -13961,8 +13961,8 @@ If you still choose to disable updates, don't forget to visit photodemon.org fro
1396113961

1396213962
<phrasecount>2653</phrasecount>
1396313963

13964-
<!-- As of this build, PhotoDemon contains 5563 phrases. -->
13965-
<!-- 2910 are duplicates, so only 2653 unique phrases have been written to file. -->
13964+
<!-- As of this build, PhotoDemon contains 5565 phrases. -->
13965+
<!-- 2912 are duplicates, so only 2653 unique phrases have been written to file. -->
1396613966
<!-- These 2653 phrases contain approximately 11461 total words. -->
1396713967

1396813968
</pdData>

‎App/PhotoDemon/Languages/Polish.xml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<langid>pl-PL</langid>
88
<langname>Polski</langname>
9-
<langversion>9.0.11</langversion>
9+
<langversion>9.0.12</langversion>
1010
<langstatus>100% complete</langstatus>
1111

1212
<author>Ryszard</author>
@@ -7167,7 +7167,7 @@ The update is automatically processing in the background. You will receive a ne
71677167
<translation>opcje %1</translation>
71687168
</phrase>
71697169

7170-
<!-- Dialog_SVGImport.frm contains 3 phrases. One was a duplicate of an existing phrase, so only 2 new phrases were written to file. -->
7170+
<!-- Dialog_SVGImport.frm contains 5 phrases. 3 were duplicates of existing phrases, so only 2 new phrases were written to file. -->
71717171

71727172
<phrase>
71737173
<original>HDR image identified</original>
@@ -14028,8 +14028,8 @@ Jeśli nadal decydujesz się na wyłączenie aktualizacji, nie zapomnij odwiedzi
1402814028

1402914029
<phrasecount>2653</phrasecount>
1403014030

14031-
<!-- As of this build, PhotoDemon contains 5563 phrases. -->
14032-
<!-- 2910 are duplicates, so only 2653 unique phrases have been written to file. -->
14031+
<!-- As of this build, PhotoDemon contains 5565 phrases. -->
14032+
<!-- 2912 are duplicates, so only 2653 unique phrases have been written to file. -->
1403314033
<!-- These 2653 phrases contain approximately 11461 total words. -->
1403414034

1403514035
</pdData>

‎App/PhotoDemon/Languages/Simplified_Chinese.xml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<langid>zh-CN</langid>
88
<langname>简体中文</langname>
9-
<langversion>9.0b1373.18</langversion>
9+
<langversion>9.0b1373.19</langversion>
1010
<langstatus>完成</langstatus>
1111

1212
<author>ChenLin(QQ:289778005), Lsbdx at 52pojie.cn, shishi</author>
@@ -7166,7 +7166,7 @@ The update is automatically processing in the background. You will receive a ne
71667166
<translation>%1 选项</translation>
71677167
</phrase>
71687168

7169-
<!-- Dialog_SVGImport.frm contains 3 phrases. One was a duplicate of an existing phrase, so only 2 new phrases were written to file. -->
7169+
<!-- Dialog_SVGImport.frm contains 5 phrases. 3 were duplicates of existing phrases, so only 2 new phrases were written to file. -->
71707170

71717171
<phrase>
71727172
<original>HDR image identified</original>
@@ -14022,8 +14022,8 @@ If you still choose to disable updates, don't forget to visit photodemon.org fro
1402214022

1402314023
<phrasecount>2653</phrasecount>
1402414024

14025-
<!-- As of this build, PhotoDemon contains 5563 phrases. -->
14026-
<!-- 2910 are duplicates, so only 2653 unique phrases have been written to file. -->
14025+
<!-- As of this build, PhotoDemon contains 5565 phrases. -->
14026+
<!-- 2912 are duplicates, so only 2653 unique phrases have been written to file. -->
1402714027
<!-- These 2653 phrases contain approximately 11461 total words. -->
1402814028

1402914029
</pdData>

‎App/PhotoDemon/Languages/Spanish_(Mexico).xml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<langid>es-MX</langid>
88
<langname>español (México)</langname>
9-
<langversion>9.0.15</langversion>
9+
<langversion>9.0.16</langversion>
1010
<langstatus>completo</langstatus>
1111

1212
<author>Plinio C Garcia, with help from DeepL.com</author>
@@ -7173,7 +7173,7 @@ La actualización se está procesando automáticamente en segundo plano. Recibi
71737173
<translation>opciones de %1</translation>
71747174
</phrase>
71757175

7176-
<!-- Dialog_SVGImport.frm contains 3 phrases. One was a duplicate of an existing phrase, so only 2 new phrases were written to file. -->
7176+
<!-- Dialog_SVGImport.frm contains 5 phrases. 3 were duplicates of existing phrases, so only 2 new phrases were written to file. -->
71777177

71787178
<phrase>
71797179
<original>HDR image identified</original>
@@ -14030,8 +14030,8 @@ If usted todavía elige desactivar las actualizaciones, no se olvide de visitar
1403014030

1403114031
<phrasecount>2653</phrasecount>
1403214032

14033-
<!-- As of this build, PhotoDemon contains 5563 phrases. -->
14034-
<!-- 2910 are duplicates, so only 2653 unique phrases have been written to file. -->
14033+
<!-- As of this build, PhotoDemon contains 5565 phrases. -->
14034+
<!-- 2912 are duplicates, so only 2653 unique phrases have been written to file. -->
1403514035
<!-- These 2653 phrases contain approximately 11461 total words. -->
1403614036

1403714037
</pdData>

‎App/PhotoDemon/Languages/Spanish_(Spain).xml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<langid>es-ES</langid>
88
<langname>español (España)</langname>
9-
<langversion>6.7.326</langversion>
9+
<langversion>6.7.327</langversion>
1010
<langstatus>completo</langstatus>
1111

1212
<author>Tecnorama</author>
@@ -7166,7 +7166,7 @@ La actualización se está procesando automáticamente en segundo plano. Recibir
71667166
<translation></translation>
71677167
</phrase>
71687168

7169-
<!-- Dialog_SVGImport.frm contains 3 phrases. One was a duplicate of an existing phrase, so only 2 new phrases were written to file. -->
7169+
<!-- Dialog_SVGImport.frm contains 5 phrases. 3 were duplicates of existing phrases, so only 2 new phrases were written to file. -->
71707170

71717171
<phrase>
71727172
<original>HDR image identified</original>
@@ -14023,8 +14023,8 @@ Si, con todo y con ello, elige desactivar las actualizaciones, no olvide visitar
1402314023

1402414024
<phrasecount>2653</phrasecount>
1402514025

14026-
<!-- As of this build, PhotoDemon contains 5563 phrases. -->
14027-
<!-- 2910 are duplicates, so only 2653 unique phrases have been written to file. -->
14026+
<!-- As of this build, PhotoDemon contains 5565 phrases. -->
14027+
<!-- 2912 are duplicates, so only 2653 unique phrases have been written to file. -->
1402814028
<!-- These 2653 phrases contain approximately 11461 total words. -->
1402914029

1403014030
</pdData>

0 commit comments

Comments
 (0)