<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Yes, but I'm trying to come up with an example to demonstrate why you would use<DIV>this. I'm setting a views to a non-integer x values, but no matter what value I choose,</DIV><DIV>the view's edge is not blurry. Same with text.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I expected this:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><</SPAN></FONT><FONT class="Apple-style-span" color="#3F7F7F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">canvas </SPAN></FONT><FONT class="Apple-style-span" color="#7F007F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">height</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">=</SPAN></FONT><FONT class="Apple-style-span" color="#2A00FF" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">"500" </SPAN></FONT><FONT class="Apple-style-span" color="#7F007F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">width</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">=</SPAN></FONT><FONT class="Apple-style-span" color="#2A00FF" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">"500" </SPAN></FONT><FONT class="Apple-style-span" color="#7F007F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">debug</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">=</SPAN></FONT><FONT class="Apple-style-span" color="#2A00FF" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">"true"</SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"> </SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><</SPAN></FONT><FONT class="Apple-style-span" color="#3F7F7F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">view </SPAN></FONT><FONT class="Apple-style-span" color="#7F007F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">name</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">=</SPAN></FONT><FONT class="Apple-style-span" color="#2A00FF" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">"view1" </SPAN></FONT><FONT class="Apple-style-span" color="#7F007F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">bgcolor</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">=</SPAN></FONT><FONT class="Apple-style-span" color="#2A00FF" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">"red" </SPAN></FONT><FONT class="Apple-style-span" color="#7F007F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">width</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">=</SPAN></FONT><FONT class="Apple-style-span" color="#2A00FF" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">"100" </SPAN></FONT><FONT class="Apple-style-span" color="#7F007F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">height</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">=</SPAN></FONT><FONT class="Apple-style-span" color="#2A00FF" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">"100" </SPAN></FONT><FONT class="Apple-style-span" color="#7F007F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">x</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">=</SPAN></FONT><FONT class="Apple-style-span" color="#2A00FF" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">"50" </SPAN></FONT><FONT class="Apple-style-span" color="#7F007F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">onclick</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">=</SPAN></FONT><FONT class="Apple-style-span" color="#2A00FF" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">"this.myAnimator.doStart()"</SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"> </SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><</SPAN></FONT><FONT class="Apple-style-span" color="#3F7F7F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">animator </SPAN></FONT><FONT class="Apple-style-span" color="#7F007F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">name</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">=</SPAN></FONT><FONT class="Apple-style-span" color="#2A00FF" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">"myAnimator" </SPAN></FONT><FONT class="Apple-style-span" color="#7F007F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">attribute</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">=</SPAN></FONT><FONT class="Apple-style-span" color="#2A00FF" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">"x" </SPAN></FONT><FONT class="Apple-style-span" color="#7F007F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">to</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">=</SPAN></FONT><FONT class="Apple-style-span" color="#2A00FF" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">".1" </SPAN></FONT><FONT class="Apple-style-span" color="#7F007F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">duration</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">=</SPAN></FONT><FONT class="Apple-style-span" color="#2A00FF" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">"1000" </SPAN></FONT><FONT class="Apple-style-span" color="#7F007F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">start</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">=</SPAN></FONT><FONT class="Apple-style-span" color="#2A00FF" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">"false" </SPAN></FONT><FONT class="Apple-style-span" color="#7F007F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">relative</SPAN></FONT><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">=</SPAN></FONT><FONT class="Apple-style-span" color="#2A00FF" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">"true"</SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">/></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"> </SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"></</SPAN></FONT><FONT class="Apple-style-span" color="#3F7F7F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">view</SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"></</SPAN></FONT><FONT class="Apple-style-span" color="#3F7F7F" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">canvas</SPAN></FONT><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><BR class="khtml-block-placeholder"></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" color="#008080" face="Monaco" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">to give the view a blurry edge at some point when I click on it.</SPAN></FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Lou<BR><DIV><DIV>On Oct 9, 2007, at 11:22 AM, Henry Minsky wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">If there are a bunch of constraints or something which cause a view to end up</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">at a non integer x and y position, pixellock will snap it the nearest</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">integer values.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Back in the Flash 5 days, there was an issue with embedded fonts where</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">the font would be blurry in</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">a text view which was not aligned to an integer pixel value. I don't</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">know if this</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">is an issue with device fonts (fonts that are stored and rendered by</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">the underlying</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">client operating system), or even if it is still an issue with embedded fonts.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space"> </SPAN>Note that we now use device fonts by default in Laszlo</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">apps, unless otherwise specified by a <font> tag<SPAN class="Apple-converted-space"> </SPAN>to include an embedded font.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">DHTML apps don't support embedded fonts at all currently.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On 10/9/07, Lou Iorio <<A href="mailto:lou@louiorio.com">lou@louiorio.com</A>> wrote:</DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I'm looking at this JIRA bug.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Can anybody give me a description of what pixellock is for? It's not obvious</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">to me after</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">playing with it for a while.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">An example that shows the difference between setting pixellock to true or</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">false would</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">be great.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Thanks,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Lou</DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">--<SPAN class="Apple-converted-space"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Henry Minsky</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Software Architect</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>