Martin Huber wrote: ↑Thu 23 Mar 2017 12:16
Herbert123 wrote: ↑Mon 20 Mar 2017 20:17(1) "Align to Pixel" is a correct English translation and use. But compare the term "Alignment" in both the Layer panel and the Document panel: that is a confusing word, because what is actually aligned? And the objects are not aligned to pixels - only the visual rendering. In my opinion, the word "Alignment" in these two panels should be renamed to "Snap to Pixel" (that is how it is called in other applications, like Illustrator). Or "Pixel Snapping" - anything but the generic "Alignment"
We will change that to "Pixel Snapping".
Herbert123 wrote: ↑Mon 20 Mar 2017 20:17(2) The word "permanently" in the documentation for the "Align to Pixels" command infers that from that point onward, any scaling and positioning will keep the non-decimal scaling and positional values. It does not: after scaling and positioning, more often than not decimal values are re-introduced.
No, "permanently" infers that you can't turn that pixel snapping off later - in contrast to the temporary attribute in the Layer Attributes.
Herbert123 wrote: ↑Mon 20 Mar 2017 20:17(3) "Align to Pixels" does not work with text layers. And that is the one really needed, because with small pixel text the pixel rendering changes based on the position. I now have to position pixel text manually by hand again and again and again to maintain the same pixel rendering.
Pixel snapping is just plain ugly in combination with small text.
I could force text output to use the OS if pixel snapping is enabled. On Windows this will create sharper text, because Windows uses font hinting. On macOS it won't help at all, because macOS doesn't use font hinting. Und font kerning will be worse with OS output.
Herbert123 wrote: ↑Mon 20 Mar 2017 20:17(4) When "Alignment" is activated for either the document or a specific layer, I expect that positioning and scaling with the visual handles and the Layer input fields occur on a non-decimal "pixel" unit basis. But after activating re-positioning and scaling introduce decimal values again.
(5) When "Alignment" for a layer or the document is activated, and even after performing the "Align to Pixels" command, using the arrow keys to position the layer results in decimal values again. (Only works when the user is zoomed to 100%)
It might be your expectation that this attribute will produce non-fractional positions, but that's not the intended behavior of an attribute.
In fact, enforcing non-fractional positions and sizes might produce deformed vector layers, if the vector layer is edited afterwards.
Martin
Thank you for word change.
My main concern is that currently, after aligning an object to pixels, and turning on pixel snapping for that layer, and pixel mode is active re-positioning that object with the layer tool will still allow it to be positioned at decimal pixel values.
The same behaviour occurs when the document is set to pixel snapping, and the view to pixel mode: after drawing a rectangle or placing and positioning an image (and the view is for example 125%) more often than not the positions are not set to full pixels, but something like 20.4px / 64.7px.
As for text: the point is again that each text instance is rendered the same by aligning it to pixels. Now I am forced to reset the position values to round values for each text instance to ensure the pixels look identical. And once positioned like that, moving it again places more often than not at fractional pixel values, and I have to reset those values again.
Anyway, I am just requesting that when pixel mode and pixel snapping are both active, no matter what the element is (shape, text, bitmap), a layer should not be allowed to be positioned at fractional pixel values at all after positioning it. (And this is how it works in other applications.) Always snap to full pixels in this case! And when new shapes are drawn positioning and scaling should snap to full pixels as well and result in rounded pixels if possible.