giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.43k stars 466 forks source link

Variable Font Size #496

Open metal450 opened 5 years ago

metal450 commented 5 years ago

I'm looking for an alternative to OneNote. I have a huge collection of notes I'd like to migrate over, which use custom text formatting - the bulk of which transfers nicely to cherrytree, with one notable exception: font sizes.

Although I see that cherrytree does support a few "predefined" sizes (h1, h2, h3, small), any numerical font sizes are lost when copying from a standard richtext document. Unfortunately, this drastically changes the layout & coherence of most of my notes.

I wonder if it would be possible to support numerical "richtext editor"-style font sizes - i.e. 10, 11, 12, etc?

saedabdu commented 5 years ago

Actually you can change the rich-text and plain-text font size to your liking via .. Edit > Preferences > Fonts.

closes #496

metal450 commented 5 years ago

Actually you can change the rich-text and plain-text font size to your liking via .. Edit > Preferences > Fonts.

That allows you to select one global font size for all text, which is very different from what I described above; making all text larger or smaller doesn't really address the loss of layout/coherence when pasting from typical richtext editors (such as OneNote), which may have different portions of text at different sizes.

Here's a concrete example: OneNote to the left, copy-pasted the text into CherryTree on the right: http://take.ms/kK33k. While this example is obviously contrived, many notes/documents/webpages do use a variety of font sizes to facilitate layout & context, which is lost upon pasting into CherryTree.

For me personally, this is the one "truly critical" issue that I'm eagerly watching before the big move of migrating my thousands of notes from OneNote (since sizes are used extensively in my existing docs) :)