Skip to content
Snippets Groups Projects
Commit 49c524a5 authored by Timur Pocheptsov's avatar Timur Pocheptsov
Browse files

I've never seen such a verbose API. To extract font names from Core Text, I have to:

1. Create CFString from ascii string.
2. Create font descriptor with this CFString
3. Create a dictionary
4. Add font descriptor in a dictionary
5. Create font collection with a dictionary
6. Create font descriptors from a collection
7. Extract font descriptor from a collection
8. Copy attribute from this descriptor
9. Convert CFString (attribute) to C-string.

All this mess is just to extract a font name :))
Miles and miles of code doing (actually) nothin.


git-svn-id: http://root.cern.ch/svn/root/trunk@44123 27541ba8-7e3a-0410-8455-c3a389f83636
parent 7cd2ba15
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment