Revision: 16596
http://sourceforge.net/p/skim-app/code/16596
Author: hofman
Date: 2026-10-03 17:31:03 +0000 (Sat, 03 Oct 2026)
Log Message:
-----------
also look forr grayscale font color
Modified Paths:
--------------
trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
===================================================================
--- trunk/SkimNotes/PDFAnnotation_SKNExtensions.m 2026-10-03 17:26:16 UTC
(rev 16595)
+++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.m 2026-10-03 17:31:03 UTC
(rev 16596)
@@ -736,6 +736,8 @@
}
if (fontColor == nil && (value = [self
valueForAnnotationKey:@"/DA"])) {
NSUInteger end = [value rangeOfString:@"rg"].location;
+ if (end == NSNotFound)
+ end = [value rangeOfString:@"g"].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