[Libreoffice-commits] libcdr.git: src/lib

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Feb 19 08:39:42 UTC 2020


 src/lib/CDRParser.cpp |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit 04b3c20882653adf4727a4dcf18fa1b577c0f20e
Author:     Fridrich Štrba <fridrich.strba at bluewin.ch>
AuthorDate: Wed Feb 19 09:39:14 2020 +0100
Commit:     Fridrich Štrba <fridrich.strba at bluewin.ch>
CommitDate: Wed Feb 19 09:39:14 2020 +0100

    Some more colour model and palette id mappings
    
    Change-Id: Ic91d9631687208351d24d57677df834bc752523e

diff --git a/src/lib/CDRParser.cpp b/src/lib/CDRParser.cpp
index 7feba1a..ca881fc 100644
--- a/src/lib/CDRParser.cpp
+++ b/src/lib/CDRParser.cpp
@@ -122,6 +122,7 @@ static int parseColourString(const char *colourString, libcdr::CDRColor &colour,
     ("HLS", 7)
     ("GRAY255", 9)
     ("YIQ255", 11)
+    ("PANTONEHX", 14)
     ("LAB255", 18)
     ("REGCOLOR", 20)
     ("SPOT", 25)
@@ -133,6 +134,12 @@ static int parseColourString(const char *colourString, libcdr::CDRColor &colour,
     ("DUPONT", 9)
     ("TOYO", 10)
     ("DIC", 11)
+    ("PAN_HEX", 12)
+    ("HKS", 0x17)
+    ("HKS_K", 0x1a)
+    ("HKS_N", 0x1b)
+    ("HKS_Z", 0x1c)
+    ("HKS_E", 0x1d)
     ;
     auto it = colourString;
     const auto end = it + std::strlen(it);


More information about the Libreoffice-commits mailing list