Boostnote: Spaces after apostrophes when viewing a note

Created on 18 Oct 2016  Â·  13Comments  Â·  Source: BoostIO/Boostnote

Reproduction steps

  1. Create a Markdown note
  2. Type some text containing apostrophes in the note content
  3. Switch to view mode (click outside the editor)

Expected result
The text is rendered normally.

Observed result
Every apostrophes are followed by a large space in certain cases.

Screenshots
_Edit mode_
image

_View mode_
image

Remarks
I am French, the apostrophe is not used for quoting content but it is very common between words (like the possessive mark in English). I add this remark because there seems not to be a problem when the apostrophe is used to quote content (see the "toto le haricot" part of the text in the captures) but in French, it is never used like that (we use double quotes) so this is very problematic for at least the French language.

bug

All 13 comments

Thanks for reporting. I'm currently investigating it now. I'll inform you later.

It works fine on OS X. I'll inform you after I try it on Windows.

screen shot 2016-10-24 at 6 37 26 pm
screen shot 2016-10-24 at 6 37 28 pm

@Rokt33r the bug is present on Windows 10

The .cson file is saved correctly with no odd spaces so I think it's something to do with viewing the note

The ' is actually being rendered as an apostrophe followed by a blank space which is odd...

2016-10-30
2016-10-30 1

Sorry for being late. My windows PC had been broken. So I had to reinstall OS.
Anyway, I'm failed to reproduce this problem... Could you give me more information?

Same error with Windows 10 and Boostnote 0.7.2
Write in markdown :
capture1

Result :
capture2

I can reproduce and confirm this, I found this issue upon searching for this behaviour myself. I'm on Windows 10, Boostnote v0.8.0 (latest binaries at the time of writing this).

Additional information:
Upon selecting the text character by character in the rendered markdown, the apostrophe and space are selected as one single symbol (as if it were one character), rather than selecting the apostrophe and space separately. Must be a rendering issue of some sort.

I can also reproduce this, and have found a fix for myself personally.

I believe this is written in express, which means that there is probably some issue with the fonts provided with the editor as when I changed mine to hack.ttf or any other font, the issue was resolved immediately.

Perhaps a dodgy font file or just requiring the inclusion of a correct text encoding?

Hope this helps!

_Editor View_
image

_Preview View_
image

it still is in place if anything, Win 10

@oleksandrzelentsov I'm going to try fixing it in a few days.

What you can do to fix this issue is set Segoe UI as your Font Family from Menu -> UI.

okay, thank you

2017-07-25 7:16 GMT+02:00 SuenagaRyota notifications@github.com:

What you can do to fix this issue is set Segoe UI as your Font Family
from Menu -> UI.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/BoostIO/Boostnote/issues/155#issuecomment-317631860,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHt7SfAeiLO2vEssk06gI0z40CiBkN5qks5sRXo0gaJpZM4KZ-VB
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

necan picture necan  Â·  3Comments

louiealmeda picture louiealmeda  Â·  3Comments

luong-komorebi picture luong-komorebi  Â·  3Comments

Petroochio picture Petroochio  Â·  3Comments

ryochack picture ryochack  Â·  3Comments