You are here: Foswiki>Tasks Web>Item13814 (16 Nov 2015, GeorgeClark)Edit Attach

Item13814: raw=on&cover=print doesn't use a monospace font.

Priority: Normal
Current State: Closed
Released In: 2.0.3
Target Release: patch
Applies To: Extension
Component: PatternSkin
Branches: master
Reported By: RichMorin
Waiting For:
Last Change By: GeorgeClark
The raw=on option uses a monospace font (as it should) for the wiki markup. However, the option combination raw=on&cover=print does not.

Here is an example page:

-- RichMorin - 13 Oct 2015

I'm not getting monospace on either raw=on, with or without cover=print. Tested both 1.1.9 and 2.0. Following patch sets a mono font for text areas.

diff --git a/PatternSkin/pub/System/PatternSkinTheme/style_src.css b/PatternSkin/pub/System/PatternSkinTheme/style_src.css
index 4d0a93c..24537c4 100644
--- a/PatternSkin/pub/System/PatternSkinTheme/style_src.css
+++ b/PatternSkin/pub/System/PatternSkinTheme/style_src.css
@@ -1977,6 +1977,7 @@ textarea.foswikiTextareaRawView,
 textarea.foswikiEditTextarea {
   width: 100%;
   height: 100%;
+  font-family: "Bitstream Vera Sans Mono","Andale Mono",Courier,monospace;
   min-height: 100px;
   padding: 5px;
   margin: 0;

-- GeorgeClark - 27 Oct 2015

ItemTemplate edit

Summary raw=on&cover=print doesn't use a monospace font.
ReportedBy RichMorin
Codebase 2.0.2, 2.0.1, 2.0.0
SVN Range
AppliesTo Extension
Component PatternSkin
Priority Normal
CurrentState Closed
Checkins distro:deec907dd30b distro:193cb00cdd05
TargetRelease patch
ReleasedIn 2.0.3
CheckinsOnBranches master
masterCheckins distro:deec907dd30b distro:193cb00cdd05
Topic revision: r6 - 16 Nov 2015, GeorgeClark - This page was cached on 17 Sep 2021 - 17:41.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy