From 15af258db08a7637f9fad123623afeabfbe9b6d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krasnaya=20Ploshchad=E2=80=99?= Date: Fri, 4 Aug 2017 23:23:24 +0800 Subject: [PATCH 1/3] Improve zh-TW font family zh-TW locale generally does not use SimSun, use MingLiU instead. --- .../QuickLook.Plugin.TextViewer/Translations.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Translations.config b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Translations.config index fce6eb7..e643996 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Translations.config +++ b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Translations.config @@ -8,7 +8,7 @@ Consolas,Microsoft Yahei UI,Microsoft Yahei,SimSun - Segoe UI,Microsoft JhengHei UI,Microsoft JhengHei,SimSun + Consolas,Microsoft JhengHei UI,Microsoft JhengHei,MingLiU Consolas,Meiryo UI,MS UI Gothic,MS Gothic From e79de6c36dea7b52b7c017c5c6c20f2118a62c50 Mon Sep 17 00:00:00 2001 From: Paddy Xu Date: Fri, 4 Aug 2017 22:05:52 +0300 Subject: [PATCH 2/3] use native rotate method suggested by @dlemstra --- .../AnimatedImage/ImageMagickProvider.cs | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/QuickLook.Plugin/QuickLook.Plugin.ImageViewer/AnimatedImage/ImageMagickProvider.cs b/QuickLook.Plugin/QuickLook.Plugin.ImageViewer/AnimatedImage/ImageMagickProvider.cs index 25716c5..6625ace 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.ImageViewer/AnimatedImage/ImageMagickProvider.cs +++ b/QuickLook.Plugin/QuickLook.Plugin.ImageViewer/AnimatedImage/ImageMagickProvider.cs @@ -33,18 +33,7 @@ namespace QuickLook.Plugin.ImageViewer.AnimatedImage using (var image = new MagickImage(path)) { - switch (image.Orientation) - { - case OrientationType.RightTop: - image.Rotate(90); - break; - case OrientationType.BottomRight: - image.Rotate(180); - break; - case OrientationType.LeftBotom: - image.Rotate(270); - break; - } + image.AutoOrient(); animator.KeyFrames.Add(new DiscreteObjectKeyFrame(image.ToBitmapSource(), TimeSpan.Zero)); animator.Duration = Duration.Forever; From bc533f3d187d4498e54e2cbc2292824cfc8407d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krasnaya=20Ploshchad=E2=80=99?= Date: Wed, 9 Aug 2017 19:05:05 +0800 Subject: [PATCH 3/3] Minor fix for zh-TW translation --- QuickLook/Translations.config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/QuickLook/Translations.config b/QuickLook/Translations.config index c035bd3..b5ff7e4 100644 --- a/QuickLook/Translations.config +++ b/QuickLook/Translations.config @@ -48,9 +48,9 @@ (含 {0}和 {1}) - Segoe UI,Microsoft JhengHei UI,Microsoft JhengHei,SimSun + Segoe UI,Microsoft JhengHei UI,Microsoft JhengHei,MingLiU QuickLook 正在背景執行。 - 另一個 QuickLook 處理程序正在執行。 + 另一個 QuickLook 處理程式正在執行。 瀏覽 “{0}” 開啟 “{0}” 用 “{0}” 開啟 @@ -60,7 +60,7 @@ 檢查更新... (&U) 結束程式 (&Q) 您已使用了最新版本。 - QuickLook {0} 已發佈。點選這裡開啟下載頁面。 + QuickLook {0} 已釋出。點選這裡開啟下載頁面。 檢查更新時發生錯誤:{0} 最後變更於 {0} 總容量 {0},可用 {1} @@ -93,4 +93,4 @@ {0} archivos ({0} y {1}) - \ No newline at end of file +