Revision: 16598
http://sourceforge.net/p/skim-app/code/16598
Author: hofman
Date: 2026-10-03 17:39:10 +0000 (Sat, 03 Oct 2026)
Log Message:
-----------
also check for CMYK color space in /DA parsing
Modified Paths:
--------------
trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
===================================================================
--- trunk/SkimNotes/PDFAnnotation_SKNExtensions.m 2026-10-03 17:37:18 UTC
(rev 16597)
+++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.m 2026-10-03 17:39:10 UTC
(rev 16598)
@@ -736,8 +736,11 @@
}
if (fontColor == nil && (value = [self
valueForAnnotationKey:@"/DA"])) {
NSUInteger end = [value rangeOfString:@"rg"].location;
- if (end == NSNotFound)
+ if (end == NSNotFound) {
end = [value rangeOfString:@"g"].location;
+ if (end == NSNotFound)
+ end = [value rangeOfString:@"k"].location;
+ }
if (end != NSNotFound) {
NSCharacterSet *numberChars = [NSCharacterSet
characterSetWithCharactersInString:@"0123456789. "];
NSUInteger start = end;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit