microsoft / WinObjC

Objective-C for Windows
MIT License
6.24k stars 813 forks source link

[CoreText] Address multiple abandoned TODOs #2378

Open msft-Jeyaram opened 7 years ago

msft-Jeyaram commented 7 years ago

There are few TODOs that are not being tracked in CoreText:

msft-Jeyaram commented 7 years ago

@ms-jihua @aballway Please take a look

ms-jihua commented 7 years ago

DWriteWrapper_CTFont.mm::473, 477 : can probably just remove the TODO: portion of the comment and leave the comment - I don't think we can ever address these.

DWriteWrapper_CoreText.mm::202 : this doesn't actually seem like a TODO, just a comment

DWriteWrapper_CoreText::53 & CTFramesetter::92: this seems like the wrong issue number...? EDIT: Looks like these should be #1342

aballway commented 7 years ago

DWriteWrapper_CoreText::53 & CTFramesetter::92: yea it looks like I put the wrong issue number on those, my b.

DWriteWrapper_CoreText::245: this is no longer needed and can be removed.

DWriteWrapper_CoreText::487: this depends on DWrite support but should not be necessary and can safely be removed

DWriteWrapper_CoreText::434, 555: This could be associated with a github issue if we wanted. We could still look into finding a more precise value but 1 em is indistinguishably small, and has and will continue to suffice if we don't care to invest in perfecting it.