CoCreate User Forum  

Go Back   CoCreate User Forum > Applications > CoCreate Drafting

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 05-20-2004, 10:14 PM
fcoexposito fcoexposito is offline
Registered User
 
Join Date: Apr 2004
Posts: 78
Text and special characters

In the special character, how can you add new special characters as well as the existing in hp_symbols_2? I tried in defaults.m (version 12.01C) but the number that I push doesn´t match with ascii code.
Also, can you change the type of font?
Reply With Quote
  #2  
Old 05-24-2004, 01:52 PM
John Scheffel's Avatar
John Scheffel John Scheffel is offline
Administrator
 
Join Date: Sep 2002
Location: San Jose, CA
Posts: 1,288
I haven't tried this, but you might want to check the following command under Help, Prog Ref Guide.

ADD_SPEC_CHAR

You might also want to investigate the Font Editor, which allows you to create custom fonts or add/modify characters in standard fonts.
__________________
John Scheffel
Reply With Quote
  #3  
Old 05-24-2004, 11:01 PM
fcoexposito fcoexposito is offline
Registered User
 
Join Date: Apr 2004
Posts: 78
I use ADD_SPEC_CHAR, but it doesn´t match with ascii code. For example, if I push the number 164 (in ascii is 'ñ') the result with the ADD_SPEC_CHAR function is another symbol.
Reply With Quote
  #4  
Old 05-25-2004, 08:40 AM
John Scheffel's Avatar
John Scheffel John Scheffel is offline
Administrator
 
Join Date: Sep 2002
Location: San Jose, CA
Posts: 1,288
It appears that ADD_SPEC_CHAR is restricted to using the hp_symbols and hp_symbols_2 fonts. These fonts don't use standard ASCII character mappings, so the symbol you get may not match the standard ASCII character. If you use the Font Editor to edit one of these fonts, you can use the Show Font function to display the symbols which correspong for each ASCII character number. For example, in the hp_symbols_2 font, character 164 is the Perpendicular symbol.
__________________
John Scheffel
Reply With Quote
  #5  
Old 05-27-2004, 09:31 AM
gmatelich's Avatar
gmatelich gmatelich is offline
Registered User
 
Join Date: Oct 2002
Location: Bellevue, WA, USA
Posts: 396
CHAR_LAYOUT might be what you're after
for example:
Code:
{adds TM symbol to #t or (CHR 20) or ctrl/t key}
current_font 'hp_block_c' CHAR_LAYOUT #T 0,104 34,104 34,100 19,100 19,75 15,75 15,100 0,100 0,104 break 36,104 43,104 52,82 61,104 68,104 68,76 64,76 64,100 54,76 50,76 40,100 40,76 36,76 36,104 end
current_font 'hp_block_v' CHAR_LAYOUT #T 0,104 34,104 34,100 19,100 19,75 15,75 15,100 0,100 0,104 break 36,104 43,104 52,82 61,104 68,104 68,76 64,76 64,100 54,76 50,76 40,100 40,76 36,76 36,104 end
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT -8. The time now is 08:36 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.