New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Changing Mac Character Code (Glyphs)


Post Reply New Thread Subscribe

 
Thread Tools
Ubereinkunft

 
Ubereinkunft's Avatar
 
Member Since: Dec 06, 2010
Posts: 4
Ubereinkunft is on a distinguished road

Ubereinkunft is offline
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.
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
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.
QUOTE Thanks
xXRiLeYXx

 
Member Since: Jan 21, 2012
Posts: 3
xXRiLeYXx is on a distinguished road

xXRiLeYXx is offline
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.
QUOTE Thanks
Ubereinkunft

 
Ubereinkunft's Avatar
 
Member Since: Dec 06, 2010
Posts: 4
Ubereinkunft is on a distinguished road

Ubereinkunft is offline
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
QUOTE Thanks

Post Reply New Thread Subscribe


« Applescript and Address Book | Applescript Snow Leopard to Lion »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
A Switchers guide to recommended free Apps to download to your new Mac the8thark Switcher Hangout 67 03-19-2013 10:48 AM
Running Windows on Mac rickmahmoud Running Windows (or anything else) on your Mac 7 02-16-2008 11:31 PM
Mac Users Get More ISP Choices schweb Apple Rumors and Reports 1 03-06-2003 10:57 AM

All times are GMT -4. The time now is 12:57 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?