yWriter 7.1.1.2 issues

49 views
Skip to first unread message

Peter T.

unread,
Oct 11, 2020, 3:36:48 AM10/11/20
to yWriter
Simon, 

In the meantime I use yWriter 7.1.1.2 for serious work. I have set a non-system font in the scene editor (Courier Prime Sans), which leads to some unsightly effects:
  • Newly created scenes are displayed with a wrong font and line spacing until they are closed and reopened for the first time.
  • Text set in italics or bold appears in a wrong font. The wrong font will remain even after undoing the text markup until the scene is closed. 
Screenshot:

ywriter7112_font_issues.PNG




Cheers, 
Peter

Simon Haynes

unread,
Oct 11, 2020, 3:53:55 AM10/11/20
to ywr...@googlegroups.com
Can you email me the RTF from a scene? The generated and raw.  I think perhaps it's marking the font in a different way from usual.

Just hoping it's not a bug in the RTF control.



--
You received this message because you are subscribed to the Google Groups "yWriter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ywriter+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ywriter/1667f5e5-54ca-4e91-aab9-47daaeadc400o%40googlegroups.com.


--

--
Visit Spacejock Software, the home of yWriter, FCharts and more
Visit spacejock.com.au for my articles on writing and publishing novels.

Peter T.

unread,
Oct 11, 2020, 5:06:30 AM10/11/20
to yWriter
No can do, I'm sorry. As soon as I close the scene in order to open it with the external RTF editor, the font is displayed correctly.
Please remember that the RTF scene editor tab no longer exists.
Just try it yourself: Set a font that is clearly different from the system font, and create a new scene. Or delete the whole scene text, close and reopen it. 

It looks as if the RTF control applies a larger set of formatting specifications when marked text areas are made bold or italic. I know that effect from MS Word, and, unfortunately, from newer LibreOffice too. 
In the case of your RTF control, the font settings might be wrong in those "area" specifications. 


On Sunday, October 11, 2020 at 9:53:55 AM UTC+2, Simon Haynes wrote:
Can you email me the RTF from a scene? The generated and raw.  I think perhaps it's marking the font in a different way from usual.

Just hoping it's not a bug in the RTF control.



On Sun, 11 Oct 2020 at 15:36, Peter T. <peter.pape...@gmail.com> wrote:
Simon, 

In the meantime I use yWriter 7.1.1.2 for serious work. I have set a non-system font in the scene editor (Courier Prime Sans), which leads to some unsightly effects:
  • Newly created scenes are displayed with a wrong font and line spacing until they are closed and reopened for the first time.
  • Text set in italics or bold appears in a wrong font. The wrong font will remain even after undoing the text markup until the scene is closed. 
Screenshot:

ywriter7112_font_issues.PNG




Cheers, 
Peter

--
You received this message because you are subscribed to the Google Groups "yWriter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ywr...@googlegroups.com.

Simon Haynes

unread,
Oct 11, 2020, 5:14:34 AM10/11/20
to ywr...@googlegroups.com
The rtf tabs have been moved into a sub-section of the Raw Markup tab (which is not meant to be called Raw Markup any more - that's a small bug)

I've been using Palatino Linotype 14 to write in for about 16 years, and that one works correctly. Palatino is definitely not the system font.  I'm just wondering whether the font you're using actually has an italics version (many don't) and so it's displaying an approximation at first, and then resetting it.



To unsubscribe from this group and stop receiving emails from it, send an email to ywriter+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ywriter/41e8adea-dbfe-44f5-9d5d-a79c34bb3cb8o%40googlegroups.com.

Peter T.

unread,
Oct 11, 2020, 5:57:54 AM10/11/20
to yWriter
Thanks for the hint, Simon. Now here's another example easily to be reproduced:

yWriter7112font_issues2.PNG



Raw markup:

Lorem ipsum [i]dolor[/i] sit [b]amet[/b], dicat repudiare no eum. 

Raw RTF:

{\rtf1\ansi\ansicpg1252\deff0\nouicompat{\fonttbl{\f0\fnil\fcharset0 Courier Prime Sans;}{\f1\fnil\fcharset0 Microsoft Sans Serif;}}
{\colortbl ;\red0\green0\blue0;}
{\*\generator Riched20 10.0.19041}\viewkind4\uc1 
\pard\fi300\li90\sl300\slmult1\cf1\f0\fs24\lang9 Lorem ipsum \i\f1 dolor\i0\f0  sit \b\f1 amet\b0\f0 , dicat repudiare no eum. \cf0\par
}

Generated RTF:

{\rtf1\ansi\deff0\nouicompat{\fonttbl{\f0\fnil\fcharset0 Courier Prime Sans;}}{\*\generator yWriter}\viewkind4\uc1 \pard\sa0\sl240\slmult1\f0\fs24\lang9 Lorem ipsum \i dolor\i0  sit \b amet\b0 , dicat repudiare no eum. \par}


Of course, Courier Prime has italic and bold typefaces, which even distinguishes it from other typewriter fonts. Just have a look at the scene after having closed and reopened it: 


yWriter7112font_issues3.PNG


I did some quick tests with other fonts; indeed, the error wasn't reproducible with them. I will now have a closer look at the way how Courier Prime is installed on my Windows 10 system (as you know, there are several ways, including links to the user profile). 

However, yWriter's behaviour isn't consistent, and errors like this don't occur with any other Windows application. If you want to harden your app, you can download the Courier Prime font here: 

Cheers, 
Peter

Simon Haynes

unread,
Oct 11, 2020, 6:21:37 AM10/11/20
to ywr...@googlegroups.com
First things first - does the font actually have true italics? That might still be the reason.


--
You received this message because you are subscribed to the Google Groups "yWriter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ywriter+u...@googlegroups.com.

Peter T.

unread,
Oct 11, 2020, 6:34:27 AM10/11/20
to yWriter

On Sunday, October 11, 2020 at 12:21:37 PM UTC+2, Simon Haynes wrote:
First things first - does the font actually have true italics? That might still be the reason.
Yes, it has. Just look at my last screenshot.

Anyway, for now the case is solved: Courier Prime was installed in the user profile (~\AppData\Local\Microsoft\Windows\Fonts). 
After I uninstalled all fonts there and reinstalled them "for all users", everything works as it should with yWriter, too. 

Let's keep in mind: yWriter itself can use all installed fonts, but the RTF control finds only the globally installed ones when changing any text format. This explains all the described error effects.

Cheers, 
Peter

P.S. 
The error occurred because I had to reconfigure my system after a Windows Update mishap. On re-installing my favourite fonts, Windows put them in the user profile. 


Reply all
Reply to author
Forward
0 new messages