Results 1 to 4 of 4
  1. #1

    Ubereinkunft's Avatar
    Member Since
    Dec 06, 2010
    Changing Mac Character Code (Glyphs)
    Hi fellow mac abusers!
    Don't worry, I mean it in a good way.

    So, I've been searching the internet for this topic, but have come almost empty handed.
    So far, I know that characters are generated in the computer and then sent to the display, and encoding plays a big role in it. For example 0x41 = 'A' in the ASCII table. What I can't seem to figure out is where this process goes on.
    As a startup I would like to be able to change the indexing of the character codes. For example, typing 0x41 will generate 'B' instead of 'A'.
    Further on I would like to create my own glyphs (which I have ready) so I can create a system with a different language. I obviously know it won't really be a different language because transferring the data to another system will show normal ASCII.
    If no one has a clue, I won't be surprised. But if some one could give me some references or good keywords to search with, I would be more than delighted. It would also be nice if someone could tell me if this is embedded in the hardware or if it's still controllable through software.

    Think about running >console with alien characters that you can read and others can't!! Pretty cool huh?

    Thx in advance.

  2. #2

    xstep's Avatar
    Member Since
    Jun 25, 2005
    On the road
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    The place to start might be Apple's Introduction to Text System Overview, Cocoa Text Architecture Guide, and
    Text Editing Programming Guide. It looks like the information to understand how the keyboard returns its code and to use that data is in them. Based on the little I saw, try that last one first.

    You said you have created your own glyphs, but not how. To work with any of the OS X text systems and therefore all apps, I believe you should be creating Postscript fonts. Font creation is a huge topic in it's own right.

    As for shifting 'A' to 'B' for the code returned, I can't see the purpose of that beyond rudimentary encryption. I think that would be an app specific thing because trying to implement that system wide would likely break every other app.
    CameraTime - Time lapse photography for novice and advanced users.

    When asking questions, post the version of your software. You'll receive better answers.

    Please post your results to the thread as it is good feedback.

  3. #3

    Member Since
    Jan 21, 2012
    The only way I was able to do this, was to create a character converter with C++, so the ascii character codes go beyond 127, into the lesser known characters like ╩▄▀╧╦╨╧═╨╧═╨╘╤╙╒╘╙═╤╧╥Γ▐╬═█╧╦╨╤.
    But to create a whole new library of characters is a different deal. I know nothing about changing character fonts or creating new ones, so good luck.

  4. #4

    Ubereinkunft's Avatar
    Member Since
    Dec 06, 2010
    Thanks xstep for the references. However, it could not help me because I just don't know enough about the system itself. Obviously, there is much that I have to learn as a young padawan. So instead of going top-down, I have decided to go bottom-up by learning OS construction. I am sure I will be able to grasp how characters are displayed through binary code. I will post as soon as reach my goal.
    Black or White, we do not care. We live the Internet for all that is there.
    Money and Power will soon despair. Freedom and Anonymity will be ours to share.

    Gray Hat Society

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Crazy glyphs on all my web browsers
    By dandyarts in forum macOS - Operating System
    Replies: 2
    Last Post: 01-21-2013, 01:56 AM
  2. C++ Character Encoding in Mac
    By manis in forum macOS - Development and Darwin
    Replies: 1
    Last Post: 01-16-2013, 08:05 PM
  3. Mac OS X Terminal Program-Insert character
    By IT@MYRONL.COM in forum macOS - Apps and Games
    Replies: 4
    Last Post: 07-27-2006, 11:25 PM
  4. Mac as Character Generator...?
    By stickball in forum Movies and Video
    Replies: 2
    Last Post: 01-21-2006, 08:10 PM
  5. Replies: 3
    Last Post: 07-02-2004, 09:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts