title: Low Level Text Output
body: <p>I have not done any MACOS programming in several years. However, I now need to test out some algorithms for formatting text as paragraphs. For these tests, I need to be able to display characters with absolute position control.</p>
  <p>These tests need to determine where line breaks are to go within a paragraph and the amount of work spacing, while taking into account hyphenation, ligatures, page breaks, kerning and the like.</p>
  <p>When I last did such things, I was using the text functions of the CGContext class. Upon returning from my hiatus, I find all of these function are marked &quot;deprecated&quot; in the documentation—which conveniently leaves out what the current acceptable replacement is.</p>
  <p>What is the current, approved process for drawing single glyphs on Mac OS?</p>
  <p>Functions that deal with formatting strings would defeat the purpose of the academic experiment here.</p>