Comments (6)
Wait.
I changed the preferences to say "Limit Editor to Web Fonts" and this behavior stopped. I'll relay this to the good people at Evernote.
from nixnote2.
Did you use some special font? If you can repeat with some trivial text, it could be helpful if you can post, the note HTML which was created. Or even better is the ENML (evernote format) which was synced to evernote. If you run nixnote with debug level, then files are created in subdirectory "files" under active log directory.
So restart nixnote (this deletes old log & files), then just do the action required to repeat and post the whole log directory incl. the "files" subdirectory. See wiki https://github.com/robert7/nixnote2/wiki/HowTo---Add-log-file-to-the-github-issue
Make sure no private info is in the posted log file.
I never had this issue with iOS Evernote.
from nixnote2.
Hi @robert7
I don't think I used a special font. I am running Ubuntu 18.10 and NN 2.1.0-beta4g.
My Default Editor Font in NN is set to 'System Default' The Tweaks app tells me that the system default document font is 'Sans Regular 11' When I create a new note in NixNote, the font selector in the editor defaults to 'DejaVu Serif'.
Here is some testing I did. It shows that it's not the Web Fonts thing at all.
Recreated Bad Note
I created one note using this default font. The text of that note is "This is trivial note 1 using DejaVu Serif" And, using View/Show Source, the HTML of that note is
This is trivial note 1 using DejaVu Serif
This note doesn't show up in Android.
Changed the font
I created another note in NixNote. Then I selected the text and set it to the font Abyssinica SIL. Using View/Show Source in NixNote, the HTML of this note is
<font face="abyssinica sil">This is trivial note 2 using Abyssinica SIL</font>
This note DID show up in Android.
Tried manually selecting the default font
I created another note, selected the text, and set it to the default "Deja Vu Serif" by first setting it to another font then setting it back. The resulting HTML (View/Show Source) was
<font face="dejavu serif">This is trivial note 3, selecting and setting this text to DejaVu Serif. First have to set it to another font then reselect DejaVu Serif.</font>
This note showed up fine in Android.
Tried Web Fonts
Next I set NixNote to only use Web Fonts. Created a new note. The default font in the editor was Courier New. The HTML (Show source) had no font tags. This not DID NOT show in Android.
Tried using default font other than System Default
Next, I reset "Limit to Web Fonts" and set the default editor font to "DejaVu Serif" Same deal: not HTML tags, didn't appear in Android.
Conclusions so far
So I was wrong. The right way to workaround this is to highlight all text and pick any font other than the default one (or select another than re-select the default).
Logs
I attached the logs from an earlier re-creation where the first note was using the default font and the next two were created by selecting the text and setting the font to another (random) distro font.
I can't create ENML files (I don't think). No access to EN on Windows or Mac.
from nixnote2.
Please run the application with DEBUG level logging. To achieve this, start nixnote as nixnote2 --logLevel=1
. Then the files in the "files" directory will be created. ENML file is converted format which is generated by Nixnote after each note edit. This (and not HTML) then gets uploaded to nixnote.
Note that before beta4g, the log level defaulted to DEBUG, but from now on its info - less verbose.
Here you see the created "files" - all files in the "red border" are created in each note edit - so its pretty verbose. The one marked with the arrow is the final ENML format. I would need to see that. You can also post the whole log.
in my case the ENML looks like this:
so there a no fonts inside - I wonder if in your case something strange is inside.
anyway the issue is important, i don't want, that notes created with nixnote are not readable on android.
from nixnote2.
The right way to workaround this is to highlight all text and pick any font other than the default one (or select another than re-select the default).
ok. but thats not acceptable. it needs to work with default font. something must be wrong. i will try to reproduce myself.
from nixnote2.
@bedohave
As I currently don't have any Android device available, I tried to reproduce with VirtualBox and Android x86 7.1.. user Evernote for Android 8.4.1 ... could not reproduce your problems... everything seems to work fine.
I tried to create note in nixnote - sync - shown up OK in android, edited on android, was correctly synced back to nixnote...
so I would need more input - log file with debug level incl. the "files" directory (best to use test account).
from nixnote2.
Related Issues (20)
- In-App Note links don't work when there is an apostrophe in the title HOT 1
- Project Status HOT 3
- NixNote cannot authorize HOT 28
- Note corruption: random characters are inserted by Nixnote HOT 1
- Gentoo: add to main Portage tree instead of the overlay HOT 4
- CLI: add posibility to show note content HOT 2
- High resources usage (CPU and RAM) HOT 3
- RHEL 8.4 version `GNUTLS_3_6_9' not found HOT 3
- Does not start up completely, Resource not found for lid: HOT 2
- Feature request: for "Unknown Tag record key: 1004" errors, print the tag HOT 1
- porting from qtwebkit to qtwebengine HOT 1
- Can't search / replace with <space> as replacement text HOT 2
- Is development on hold? HOT 1
- Nixnote2 exits when network gets disconnected HOT 5
- copy and paste from Visual Studio Code removes spaces and tabulators HOT 6
- ubuntu22.04 SSL Errors HOT 2
- AppImage: "This doesn't look like a squashfs image." HOT 1
- Release page: invalid formatting (in one line) HOT 5
- 2.1.8: please update this link https://github.com/robert7/nixnote2/releases/download/continuous-develop/NixNote2-x86_64.AppImage HOT 4
- AppImage file name must contain version number HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nixnote2.