Closed CharlesCage closed 4 years ago
Here's what the PDF result looks like
I cannot reproduce that. Can you please also provide the note text.
Sample of note text:
2020-05-14 Web History
======================
# Video Ideas
## Information to Convey
### What information are we talking about?
* Web history
* What web pages you visit and when
### Who collects it and how?
* This data is commonly collected by Internet Service Providers (ISPs)
* Like AT&T, Comcast, Verizon, etc.
* They collect the information from two sources
* Domain Name Service (DNS)
Created a new one with same effect so I can provide full files:
That what my PDF looks like:
I tried various settings but wasn't able to break my pdf export.
Wow, that's exactly what I expect. Hm. Could this be a config issue? Like maybe I selected some fonts badly or something along those lines?
Can you please try again in a fresh session of QON (your old session will not be touched). See "tip" at https://docs.qownnotes.org/en/latest/getting-started/cli-parameters/
Ok, did this and it looks fine when run from a clean session. I guess I must've mis-configured something. Looking for it.
Edit 1: Reset fonts to same in Interface/Editor/Preview and matched checkboxes. Still same result.
Still same result.
What same result? A broken pdf or a correct one? Could you trace what setting broke the PDF?
The broken one, sadly. :/
I haven't been able to trace the setting. I'm walking through them and trying them all. Did include my ini above in case you happen to see anything. The obvious ones (fonts/sizes) didn't change anything.
Ok, so I restarted with --session temp and exported the stock light fonts and colors set to Light.ini, then diff'd it with my Dark.ini.
I have the full diff, but the only font-related entries were this:
> FontSizeAdaption_15=100
71a74
> FontSizeAdaption_8=100
108c111
But replacing it in Dark.ini and re-importing, re-starting didn't fix the issue. Still trying.
I did a diff of settings exports, and all I find font-related is this:
< noteTextEdit.code.font="IBM 3270 Semi-Narrow,8,-1,5,57,0,0,0,0,0,Medium"
< noteTextEdit.font="Hack,10,-1,5,50,0,0,0,0,0,Regular"
< noteTextView.code.font="Courier New,9,-1,5,50,0,0,0,0,0,Regular"
< noteTextView.font="MS Shell Dlg 2,12,-1,5,50,0,0,0,0,0,Regular"
> noteTextEdit.code.font="Courier New,9,-1,2,50,0,0,0,0,0"
> noteTextEdit.font="MS Shell Dlg 2,12,-1,5,50,0,0,0,0,0"
> noteTextView.code.font="Courier New,9,-1,2,50,0,0,0,0,0"
> noteTextView.font="MS Shell Dlg 2,12,-1,5,50,0,0,0,0,0"
I really wonder what setting makes it break...
Any news on this issue, @CharlesCage? :grin:
Expected behaviour
Export a markdown note to PDF (Preview) and receive a PDF that lllllooks that looks similar to the preview shown in the right-side preview pane.
Actual behaviour
In PDF (Preview) export, header text created via markdown (hash symbols) appears in a tiny font.
Steps to reproduce
Relevant log output in the Log panel
Expand
``` [10:51:48] [warning] QPainter::begin(): Returned false ```Information about the application, settings and environment
Expand
QOwnNotes Debug Information =========================== ## General Info **Current Date**: `Thu May 14 10:51:59 2020` **Version**: `20.5.8` **Build date**: `May 13 2020` **Build number**: `5658` **Platform**: `windows` **Operating System**: `Windows 10 (10.0)` **Build architecture**: `i386` **Current architecture**: `x86_64` **Release**: `AppVeyor` **Qt Version (build)**: `5.13.2` **Qt Version (runtime)**: `5.13.2` **Portable mode**: `no` **Settings path / key**: `\HKEY_CURRENT_USER\Software\PBE\QOwnNotes` **Application database path**: `C:\Users\Chuck Cage\AppData\Roaming\PBE\QOwnNotes\QOwnNotes.sqlite` **Application arguments**: `C:\Users\Chuck Cage\Documents\qownnotes\QOwnNotes.exe` **Qt Debug**: `0` **Locale (system)**: `en_US` **Locale (interface)**: *empty* **Primary screen resolution**: `1920x1080` **Screen resolution(s)**: `1920x1080, 1920x1080, 1920x1080, 1920x1080, 1080x1920, 1080x1920` **Icon theme**: `breeze-dark-qownnotes` **Notes in current note folder**: `129` **Calendar items**: `0` **Enabled scripts**: `0` ## Server Info **serverUrl**: `https://nextcloud.chuckcage.com` **appIsValid**: `yes` **notesPathExists**: `yes` **serverVersion**: `18.0.4.2` **appVersion**: *empty* ## Spellchecking **Enabled**: `false` **Selected language**: *empty* **Language codes**: *empty* **Language names**: *empty* **Application dictionaries path**: `C:\Users\Chuck Cage\AppData\Roaming\PBE\QOwnNotes\dicts` ## Note folders **currentNoteFolderId**: `1` ### Note folder `default` **id**: `1` **isCurrent**: `yes` **activeTagId**: `-1` **localPath**: `C:\Users\Chuck Cage\Nextcloud\Notes` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `yes` **isUseGit**: `no` **activeNoteSubFolder name**: `Security and Privacy Work` **database file**: `C:\Users\Chuck Cage\Nextcloud\Notes\notes.sqlite` ## Cloud connections ### Cloud connection `Default` **id**: `1` **isCurrent**: `yes` **serverUrl**: redacted **username**: redacted ## Enabled scripts ## Settings **ActiveNoteHistoryItem** (NoteHistoryItem): `