February 8, 2007

Bit shifting

I always forget that shifting positive integers and negative integers always rounds down (not towards zero), such that 126705>>3 = 15838, but -126705>>3 = -15839, which, of course can be subtle but disastrous for things like, oh, I don't know, rasterization fill conventions. Its supposed to be "live and learn", but it seems like "live, rinse, and repeat"... fixed precision computer math requires surprisingly high attention and focus...

... sigh...

But even that aside, as someone recently pointed out to me, preserving symmetry and sub-pixel accuracy is still an unsolved problem (font hinting could be considered a special case of this domain). I think its not a rasterization problem, but a geometry problem - context matters.

9 comments:

Anonymous said...

runescape money runescape gold runescape money runescape gold wow power leveling wow powerleveling Warcraft Power Leveling Warcraft PowerLeveling buy runescape gold buy runescape money runescape items runescape gold runescape money runescape accounts runescape gp dofus kamas buy dofus kamas Guild Wars Gold buy Guild Wars Gold runescape accounts buy runescape accounts runescape lotro gold buy lotro gold lotro gold buy lotro gold lotro gold buy lotro gold lotro gold buy lotro gold runescape money runescape power leveling runescape money runescape gold dofus kamas cheap runescape money cheap runescape gold Hellgate Palladium Hellgate London Palladium Hellgate money Tabula Rasa gold tabula rasa money 压力开关 压力传感器 流量开关 流量计 液位计 液位开关 温湿度记录仪 风速仪 差压开关 可燃气体检测仪 过滤器 强磁水处理器 自清洗过滤器 自动反冲洗过滤器 保鲜棕榈树 棕榈树

said...

東京 ホームページ制作
釣り
データ復旧
横浜 賃貸
一戸建て
育毛剤

said...

クレジットカード 現金化
FX
投資
アフィリエイト
派遣
不動産
キャッシング
不動産

said...

不動産 東京
アクサダイレクト
ウェディング
賃貸
現金化
設計事務所

new laptop battery said...

Thanks from specialize in laptop battery,laptop AC adapters. All our products are brand new, with the excellent service from our laptop battery of customer service team.
Thanks for your info. The most convenient and cheap replacement battery online shop in uk. We specialize in laptop batteries, laptop AC adapters.

All our laptop AC adapter are brand new, with the excellent service from our customer service team.

the most convenient and usa battery online shop in usa.
You can find some battery and adapter from here is very cool.

We specialize in laptop batteries,laptop AC adapters. All of batteries are brand new, with the excellent service from our customer service team, you can feel free to purchase on laptop battery!
Here is cheap laptop ac adapter online shop in uk. We specialize in batteries. All our au battery are brand new, with the excellent service from our customer service team.

筱娅 said...

Do you like playing the game where you need to use requiem gold, when you do not have requiem lant, you must borrow requiem money from friends, or you can not go on this game without cheap requiem lant. If you get requiem online gold, you can continue this game.

karu said...

エステ 結婚相談所 お見合いパーティー 大阪 賃貸 電話代行 収益物件 探偵 東京 結婚相談所 京都 大阪 貸事務所 京都 マンスリーマンション 結婚 仲介 工担 CCNA ホームページ制作 広島 佐賀 美容室

karu said...

興信所 探偵学校 東京 探偵 東京 興信所 離婚 慰謝料 探偵 料金 素行 探偵 選び方 探偵浮気調査 探偵社 探偵 埼玉 探偵 横浜 東京都 探偵 探偵 神奈川 探偵 千葉 女性 探偵社 東京都 興信所 興信所 横浜 神奈川県 興信所 千葉県 興信所 興信所 埼玉 興信所 千葉 行方調査 結婚調査 家出 人探し 浮気 証拠 浮気 調査料金 離婚 調停 離婚 相談 結婚相談所 関西

ha said...
This comment has been removed by a blog administrator.