From e3645ecd1d6420c73f0ca5bc53def60af9a235da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Thu, 22 Feb 2018 02:57:34 -0800 Subject: [macos] Added font picker Instead of hard-coding a font when localizing, enable a font picker to set the font of the selected layers. --- platform/macos/app/Base.lproj/MainMenu.xib | 263 +++++++++++++++++++++++++++++ platform/macos/app/MapDocument.m | 49 ++++++ 2 files changed, 312 insertions(+) diff --git a/platform/macos/app/Base.lproj/MainMenu.xib b/platform/macos/app/Base.lproj/MainMenu.xib index 72e9c5a18..d9759d600 100644 --- a/platform/macos/app/Base.lproj/MainMenu.xib +++ b/platform/macos/app/Base.lproj/MainMenu.xib @@ -476,6 +476,268 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -969,6 +1231,7 @@ CA stateImage + diff --git a/platform/macos/app/MapDocument.m b/platform/macos/app/MapDocument.m index f1c4b1c8e..2a260b83c 100644 --- a/platform/macos/app/MapDocument.m +++ b/platform/macos/app/MapDocument.m @@ -475,6 +475,55 @@ NS_ARRAY_OF(id ) *MBXFlattenedShapes(NS_ARRAY_OF(id