pupsnow / mathmleditor

Automatically exported from code.google.com/p/mathmleditor
1 stars 0 forks source link

Zoom behaves like resize #98

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open editor, enter some formula
2. Save image
3. Open editor again, change zoom to 200%
4. Save image again

What is the expected output? What do you see instead?
Images in p.2 and p.4 should be similar. Instead I see the second 
image is a double size. 

What version of the product are you using? On what browser?
Latest FMath editor. Latest Chrome. 

Please provide any additional information below.
Seems like zoom behaves like resize, but real zoom. Please take a look.

Original issue reported on code.google.com by arctur...@gmail.com on 4 Apr 2014 at 7:03

GoogleCodeExporter commented 9 years ago
yes, it is true.
I think the "zoom" word is not very good. But I like this functionality.
I will rename with resize.

Original comment by ionel.alexandru@gmail.com on 4 Apr 2014 at 1:03

GoogleCodeExporter commented 9 years ago
Maybe it makes sense to leave this zoom feature, but add another implementation 
for the resulting image. e.g. if I edit "100x100" formula, then with the 200% 
zoom I will see 200x200 picture, which when saved would become 100x100 image as 
in the original. what do you think?

Original comment by arctur...@gmail.com on 4 Apr 2014 at 1:42

GoogleCodeExporter commented 9 years ago
yes, could be an idea to have a flag (configuration) to say how to save:
1. zoom = resize
2. ignore zoom

Original comment by ionel.alexandru@gmail.com on 4 Apr 2014 at 2:00

GoogleCodeExporter commented 9 years ago
let me give you the use-case I am experiencing now. My colleagues are starting 
entering the formulas with your editor, but some of them have bad eye-sight. I 
ask them to deliver resulting formulas of the font size=20. This fontsize is 
good for the resulting webpage, they are editing, but it is not good for 
editing formula in the editor.. it is too small for them. 

My use-case would be to allow them to open editor automatically with zoom = 
200%, but save the image as if it was edited without zoom with the font size = 
20. 

Original comment by arctur...@gmail.com on 4 Apr 2014 at 2:14

GoogleCodeExporter commented 9 years ago
yes, it is a good use-case. I will think about it.
regards

Original comment by ionel.alexandru@gmail.com on 4 Apr 2014 at 2:35

GoogleCodeExporter commented 9 years ago
Thank you!

Original comment by arctur...@gmail.com on 4 Apr 2014 at 2:38