Revision: 16593
http://sourceforge.net/p/skim-app/code/16593
Author: hofman
Date: 2026-10-03 16:55:58 +0000 (Sat, 03 Oct 2026)
Log Message:
-----------
don't set default style and default appearance on fdf
Modified Paths:
--------------
trunk/PDFAnnotation_SKExtensions.m
Modified: trunk/PDFAnnotation_SKExtensions.m
===================================================================
--- trunk/PDFAnnotation_SKExtensions.m 2026-10-03 16:28:30 UTC (rev 16592)
+++ trunk/PDFAnnotation_SKExtensions.m 2026-10-03 16:55:58 UTC (rev 16593)
@@ -480,9 +480,6 @@
[[[self fontColor] colorUsingColorSpaceName:NSDeviceRGBColorSpace]
getRed:&r green:&g blue:&b alpha:&a];
[fdfString appendFDFName:SKFDFDefaultAppearanceKey];
[fdfString appendFormat:@"(/%@ %g Tf %g %g %g rg)", [self fontName],
[self fontSize], r, g, b];
- [fdfString appendFDFName:SKFDFDefaultStyleKey];
- [[[self fontColor] colorUsingColorSpace:[NSColorSpace sRGBColorSpace]]
getRed:&r green:&g blue:&b alpha:&a];
- [fdfString appendFormat:@"(font: %@ %gpt; text-align:%@;
color:#%.2x%.2x%.2x)", [self fontName], [self fontSize],
alignmentStyleKeyword([self alignment]), (unsigned int)(255*r), (unsigned
int)(255*g), (unsigned int)(255*b)];
[fdfString appendFDFName:SKFDFAnnotationAlignmentKey];
[fdfString appendFormat:@" %ld",
(long)SKFDFFreeTextAnnotationAlignmentFromPDFFreeTextAnnotationAlignment([self
alignment])];
} else if ([type isEqualToString:SKNHighlightString] || [type
isEqualToString:SKNUnderlineString] || [type
isEqualToString:SKNStrikeOutString]) {
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