issue-#32 Folds arrows display

Re: issue-#32 Folds arrows display

Postby Zinn » Fri Mar 27, 2015 4:22 pm

Sorry, it is good idear, but I don't like the result. The document looks terrible with the new fold sign. At your old solution the fold sign looks very pretty.
Zinn
 
Posts: 463
Joined: Tue Mar 25, 2014 5:56 pm
Location: Frankfurt am Main

Re: issue-#32 Folds arrows display

Postby Ivan Denisov » Fri Mar 27, 2015 5:24 pm

Zinn wrote:Sorry, it is good idear, but I don't like the result. The document looks terrible with the new fold sign. At your old solution the fold sign looks very pretty.

It was the temporary demo to demonstrate the idea. Now I have finished the full quality demo for voting!

http://blackboxframework.org/unstable/i ... a1.086.zip

Diff with master:
http://redmine.blackboxframework.org/pr ... 63a053d22f

folds_in_windows.png
folds_in_windows.png (2.09 KiB) Viewed 6129 times

folds_in_wine.png
folds_in_wine.png (1.96 KiB) Viewed 6129 times

folds_ubuntu.png
folds_ubuntu.png (14.41 KiB) Viewed 6129 times

folds_bb_SLD.png
folds_bb_SLD.png (12.46 KiB) Viewed 6116 times
Ivan Denisov
 
Posts: 1690
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

Re: issue-#32 Folds arrows display

Postby Josef Templ » Mon Mar 30, 2015 4:15 pm

> It was the temporary demo to demonstrate the idea. Now I have finished the full quality demo for voting!

Impressive demo on the one side but there are some differences to the fold arrows of BB1.6 on the other side.
- try printing open folds
- look at the offsets to the adjacent left and right neighbour character
- look at the height of the arrow; arrows are less high in BB1.6, which looks better
- the arrows in 1.6 start at the base line and extend a bit above lower case letters
- the outline thickness differs with the size of the font
- the quality is still not the same as a rendered font glyph

- Josef
User avatar
Josef Templ
 
Posts: 1947
Joined: Tue Sep 17, 2013 6:50 am

Re: issue-#32 Folds arrows display

Postby Ivan Denisov » Tue Mar 31, 2015 12:43 am

Thanks for feedback, Josef, I will fix this today.
Ivan Denisov
 
Posts: 1690
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

Re: issue-#32 Folds arrows display

Postby Josef Templ » Tue Mar 31, 2015 9:17 am

What exactly is the problem with folds arrows in the russian Windows version?
Is windings not available? Is webdings not available? Are the arrow characters in
those fonts missing? Which appearance results in russian BB1.6 now?
Note that in BB1.6 there is always a fall back to the DefaultAppearance (strings >, =>, <=, <),
which should be usable as well.

For wine there exists a nice solution in CPC 1.7. It uses webdings instead of windings
and thereby has quite nice and usable arrows although they look a bit different then the
windings arrows.

I must admit that I am not a fan of Ivan's tricky rendering that tries to simulate the subpixel
antialiasing of the Windows font engine. A large effort has been spent by Microsoft
for this rendering to work well. It is not easy to come close.

- Josef
User avatar
Josef Templ
 
Posts: 1947
Joined: Tue Sep 17, 2013 6:50 am

Re: issue-#32 Folds arrows display

Postby Ivan Denisov » Tue Mar 31, 2015 3:36 pm

I really do not understand why you want super perfect arrows and ready to sacrifice portability and the solution which does not require system modules grow fat!

I know how to fix your comments, and prepare code soon for people can evaluate. Of course I am not hope for much. You and Helmut can crush initiative with you authority, however there is a chance to move BlackBox to be fit and ported on other platforms. The fall backs is not what I want to see on Linux or Wine or SDL version.
Ivan Denisov
 
Posts: 1690
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

Re: issue-#32 Folds arrows display

Postby Bernhard » Tue Mar 31, 2015 3:45 pm

In the other thread (viewtopic.php?f=41&t=198&start=10#p1970)
Josef Templ wrote:
▶closed fold◀
▷open fold◁

What about these?
The above characters are standard Unicode characters 25b6, 25b7, 25c0, 25c1.
Although they are standard Unicode characters, not every Windows font contains them.
My Windows Vista has these in the fonts "Arial Unicode MS", "Lucida Sans Unicode" and "DeJavu Sans".
I am not sure if every Windows version has these fonts installed and if Wine has one of them.


In my SuSE SLED11 Installation there are chars 25b6, 25b7, 25c0, 25c1 and they look at least as nice as the ones found by Josef.
They are available (checked with charmap) in all fonts I checked (Dingbats, DejaVu Sans, Monospace, Serif, Utah MT, Utopia, Yudit).

Why not use these?

I personally like them even more than the original, where I found the arrows too large. I guess the originals were compromises in times of Win95. We switched to Unicode, so why don't we use the available characters.
--
Bernhard
Bernhard
 
Posts: 61
Joined: Tue Sep 17, 2013 6:56 am
Location: Munich, Germany

Re: issue-#32 Folds arrows display

Postby Ivan Denisov » Tue Mar 31, 2015 3:46 pm

Josef Templ wrote:What exactly is the problem with folds arrows in the russian Windows version?
Is windings not available? Is webdings not available? Are the arrow characters in
those fonts missing? Which appearance results in russian BB1.6 now?

Please take a look the first message:
viewtopic.php?f=40&t=197#p1933
The images are showing wine and windows appearance correspondingly.
Ivan Denisov
 
Posts: 1690
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

Re: issue-#32 Folds arrows display

Postby Ivan Denisov » Tue Mar 31, 2015 6:37 pm

New demo version is ready.
http://blackboxframework.org/unstable/i ... a1.088.zip

new_layout.png
new_layout.png (33.24 KiB) Viewed 6083 times


I have fixed the printing layout (removed grey line), made the arrows less height and added small distance between them and string.

If you look at the commander, you will find that it looks a bit ugly. However it is independent of platform. If you compare this arrows with commander, them looks much better and always independent of platform.
q.png
q.png (1.75 KiB) Viewed 6083 times
Ivan Denisov
 
Posts: 1690
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

Re: issue-#32 Folds arrows display

Postby DGDanforth » Tue Mar 31, 2015 11:22 pm

Ivan,
Good. I like it.
User avatar
DGDanforth
 
Posts: 1060
Joined: Tue Sep 17, 2013 1:16 am
Location: Palo Alto, California, USA

PreviousNext

Return to Resolved (Bugs)

Who is online

Users browsing this forum: No registered users and 2 guests

cron