[kmarkdownwebview] [Bug 390307] Preview of Markdown - fonts too small in HiDPI screen

2022-12-01 Thread CnZhx
https://bugs.kde.org/show_bug.cgi?id=390307

CnZhx  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
   Assignee|kosse...@kde.org|z...@cnzhx.net
 Status|NEEDSINFO   |REPORTED

--- Comment #9 from CnZhx  ---
Created attachment 154212
  --> https://bugs.kde.org/attachment.cgi?id=154212=edit
Markdown preview and kate editor in same page

Hi Justin,

Thank you for following up this issue. I have not used this feature for a long
time and forget this issue. This bug is still there with Kate Version 22.08.3.
A snapshot has been attached to show the small fonts in the preview panel along
with the normal font size in editing area.

The status has been change accordingly.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmarkdownwebview] [Bug 390307] Preview of Markdown - fonts too small in HiDPI screen

2022-12-01 Thread Justin Zobel
https://bugs.kde.org/show_bug.cgi?id=390307

Justin Zobel  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #8 from Justin Zobel  ---
Thank you for reporting this issue in KDE software. As it has been a while
since this issue was reported, can we please ask you to see if you can
reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when
replying. Thank you!

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmarkdownwebview] [Bug 390307] Preview of Markdown - fonts too small in HiDPI screen

2018-10-24 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=390307

pos...@posteo.eu changed:

   What|Removed |Added

 CC||pos...@posteo.eu

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmarkdownwebview] [Bug 390307] Preview of Markdown - fonts too small in HiDPI screen

2018-10-24 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=390307

alex...@gmx.net changed:

   What|Removed |Added

 CC||alex...@gmx.net

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmarkdownwebview] [Bug 390307] Preview of Markdown - fonts too small in HiDPI screen

2018-03-29 Thread CnZhx
https://bugs.kde.org/show_bug.cgi?id=390307

--- Comment #7 from CnZhx  ---
Thank you Friedrich and Christoph for the follow-up.

After more observations, I think this might not be the problem of this Preview
plugin. Apart from this, I also noticed the small fonts problem in following
situations:
- In Akregator, open an article in "new Tab" instead of external browser;
- In Kmail, open a HTML-formatted message in HTML mode.

So, maybe the problem is system-wide?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmarkdownwebview] [Bug 390307] Preview of Markdown - fonts too small in HiDPI screen

2018-03-29 Thread Friedrich W . H . Kossebau
https://bugs.kde.org/show_bug.cgi?id=390307

--- Comment #6 from Friedrich W. H. Kossebau  ---
Sorry for not having caught up on this. I am missing needed insight into the
issue to understand what could be wrong, and the answers (thanks for them
though, CnZhx) did not help me out of that, rather showed there is more which
needs to be understood. So I had delayed further reaction to some bigger
concentrated investigation effort of mine. Which sadly has not yet got enough
priority with me over all the other things to do, and might not get in the near
future.

So current status: no idea what could be wrong exactly and how to properly fix
it :(

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmarkdownwebview] [Bug 390307] Preview of Markdown - fonts too small in HiDPI screen

2018-03-29 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=390307

Christoph Feck  changed:

   What|Removed |Added

 Status|NEEDSINFO   |UNCONFIRMED
 Resolution|WAITINGFORINFO  |---

--- Comment #5 from Christoph Feck  ---
No response; changing status.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmarkdownwebview] [Bug 390307] Preview of Markdown - fonts too small in HiDPI screen

2018-02-28 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=390307

--- Comment #4 from Christoph Feck  ---
Friedrich, does comment #2 provide the requested information? Please set the
bug status or add a comment.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmarkdownwebview] [Bug 390307] Preview of Markdown - fonts too small in HiDPI screen

2018-02-12 Thread CnZhx
https://bugs.kde.org/show_bug.cgi?id=390307

CnZhx  changed:

   What|Removed |Added

 Attachment #110553|0   |1
is obsolete||

--- Comment #3 from CnZhx  ---
Created attachment 110577
  --> https://bugs.kde.org/attachment.cgi?id=110577=edit
Comparision of visual sizes of fonts in Kate, preview and System Settings

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmarkdownwebview] [Bug 390307] Preview of Markdown - fonts too small in HiDPI screen

2018-02-12 Thread CnZhx
https://bugs.kde.org/show_bug.cgi?id=390307

--- Comment #2 from CnZhx  ---
Hi Friedrich, thank you for looking into this.

To answer your questions,
a) That means the "Force fonts DPI" in "Fonts" of the system is set to 168, and
the "Screen Scaling" in "Display and Monitor" is set to 1. This is because the
following reason. I have a 14" laptop with WQHD display. On the one hand, with
screen scaling of 2, the items on screen are too big so less content can be
displayed. But screen scaling of fractional value (e.g. 1.3) could cause
problems with Konsole and so on. On the other hand, I use an external monitor
now and then. It has a normal DPI of 96. If I set screen scaling to value
larger than 1, elements on the external screen would be too large. Then, I
increase fonts DPI only to make fonts big enough to read (the Fonts sizes are
kept default, e.g. Noto Sans 10 for General).

b) I tried your method to run Kate. The display is just the same as I reported. 

In addition to this, I guess it's helpful to mention that I use a font size of
10 in Kate (font family: Hack), which is on the left side of the screenshot. I
would expect the preview of Markdown using sizes of symbol (actual
font/character size) based on visual font size in system settings. So I include
another screenshot with comparison for your reference. Please refer to the next
comment.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmarkdownwebview] [Bug 390307] Preview of Markdown - fonts too small in HiDPI screen

2018-02-12 Thread Friedrich W . H . Kossebau
https://bugs.kde.org/show_bug.cgi?id=390307

Friedrich W. H. Kossebau  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #1 from Friedrich W. H. Kossebau  ---
I have no own experience yet with support of high-dpi devices yet, so can only
do guesses based on docs.

The CSS used for the markdown rendering has all sizes given in pixels, cmp.
https://kevinburke.bitbucket.io/markdowncss/markdown.css
I picked that stylesheet as it seems a good one, and having no designer
education myself, I also do not want to start messing with CSS :)
That CSS is currently hardcoded, but happy to add support to allow people
overwriting that, see https://bugs.kde.org/show_bug.cgi?id=385219

The openSUSE packages are built against Qt WebEngine. That one recommends to
have Qt::AA_EnableHighDpiScaling set in the code, so things are properly scaled
given that web rendering by standards is based on 96 dpi IIRC.
Cmp. http://doc.qt.io/qt-5/qtwebengine-overview.html#high-dpi-support

Kate itself seems to not set that flag in the code yet, grepping the code yield
no hit.

Questions:
a) What do you mean exactly by "system is set to only have forced DPI of 168
while scaling factor is 1." ?

b) Could you try to run Kate with QT_AUTO_SCREEN_SCALE_FACTOR set to TRUE in
the environment and tell if this improved things for you?
E.g. by opening a terminal and starting kate like this
```
export QT_AUTO_SCREEN_SCALE_FACTOR=TRUE
kate
```
Cmp. also http://doc.qt.io/qt-5/highdpi.html

If that improves things for you, it would then make sense to add code to Kate
to set the respective flag directly.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmarkdownwebview] [Bug 390307] Preview of Markdown - fonts too small in HiDPI screen

2018-02-12 Thread Friedrich W . H . Kossebau
https://bugs.kde.org/show_bug.cgi?id=390307

Friedrich W. H. Kossebau  changed:

   What|Removed |Added

  Component|plugin-preview  |general
Product|kate|kmarkdownwebview
   Assignee|kwrite-bugs-n...@kde.org|kosse...@kde.org
Version|17.12.0 |unspecified

-- 
You are receiving this mail because:
You are watching all bug changes.