[Solved] Blackboard bold characters

Just starting out? Need help? Post your questions and find answers here.
User avatar
Arctic Fox
Enthusiast
Enthusiast
Posts: 609
Joined: Sun Dec 21, 2008 5:02 pm
Location: Aarhus, Denmark

[Solved] Blackboard bold characters

Post by Arctic Fox »

Does anyone know how to draw blackboard bold (double struck) characters onto an image?

I know that Cambria Math and MT Extra include such characters, but as far as I know these fonts are licenced by Microsoft and Design Science respectively.

There are some unicode characters, too, which represent blackboard bold characters, but they only seem to work with a very few fonts like Tahoma and Segoe UI.

Any help and hints are very appreciated.
Thanks in advance :)
Last edited by Arctic Fox on Mon Mar 29, 2010 8:08 pm, edited 1 time in total.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: Blackboard bold characters

Post by netmaestro »

Windows' Castellar font seems pretty close, I'll see what else I can find.
BERESHEIT
User avatar
Arctic Fox
Enthusiast
Enthusiast
Posts: 609
Joined: Sun Dec 21, 2008 5:02 pm
Location: Aarhus, Denmark

Re: Blackboard bold characters

Post by Arctic Fox »

Thanks a lot, netmaestro!
But isn't the Castellar font licenced by Microsoft, too?

Edit
But of course, every font on Windows is licenced by Microsoft :lol:
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: Blackboard bold characters

Post by Vera »

Hi Arctic Fox,

I never heard of blackboard bold before so I followed your link and searched a while.

As for you special question I found one page recommending fonts for special uses (incl. blackboard): http://cg.scs.carleton.ca/~luc/blackboard.html

I followed one hint and found a page where this font still is available: GoudyHandtooled BT Regular
This link comes from here, where it indicates that it is a free font.

hope this can help you somehow :)

regards ~ Vera
User avatar
Arctic Fox
Enthusiast
Enthusiast
Posts: 609
Joined: Sun Dec 21, 2008 5:02 pm
Location: Aarhus, Denmark

Re: Blackboard bold characters

Post by Arctic Fox »

Hi Vera!
Thanks a lot for the link - I will have a look at this :D
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

Re: Blackboard bold characters

Post by Perkin »

If you can't find a font and depending on how you're using it,
you may be able to draw the text of a normal font twice,
second time with x offset.
%101010 = $2A = 42
User avatar
Arctic Fox
Enthusiast
Enthusiast
Posts: 609
Joined: Sun Dec 21, 2008 5:02 pm
Location: Aarhus, Denmark

Re: Blackboard bold characters

Post by Arctic Fox »

Thanks for the tip :)
(drawing Q in this way is problematic, though :wink:)
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

Re: Blackboard bold characters

Post by Perkin »

:lol:
A work around for letter Q :-
Pretend your dyslexic an spell with 'kw' - 'Kwasimodo kwietly kwits Kwarantine.'

Or

Don't use any word with a 'Q' in.
:lol: :lol:
%101010 = $2A = 42
User avatar
Arctic Fox
Enthusiast
Enthusiast
Posts: 609
Joined: Sun Dec 21, 2008 5:02 pm
Location: Aarhus, Denmark

Re: Blackboard bold characters

Post by Arctic Fox »

:lol: :lol:
Kwite interesting workaround you've got there :wink:
RASHAD
PureBasic Expert
PureBasic Expert
Posts: 4954
Joined: Sun Apr 12, 2009 6:27 am

Re: Blackboard bold characters

Post by RASHAD »

Hi Fox

I am not sure about your aim
I think that you are creating a software for mathematical purposes

1- so if you are looking for mathematical notations font (Free) that will be hard to get

2- If you have the symbols even if it is bitmap (bmp,png,tif...) you can use one of the next prog.
to create your own font and load it during execution and that will solve a big problem for you
I mean the unicode characters beyond 256
beside these prog. will trace the bitmap to vector type and assign it to an ascii no.as you like

2-1 Font Creator
2-2 Font Grapher
2-3 FontLab which is the best

and may be you can add effects like BlackBoard

3- Next is a tip that can come close to BlackBoard style
I hope I can give you a hand

Code: Select all

LoadFont(1, "Broadway",16)
;LoadFont(1, "Symbol",20)

Procedure TextOutline(text$,x,y) 
  StartDrawing(WindowOutput(0))
  DrawingFont(FontID(1))     
    DrawingMode(#PB_2DDrawing_Transparent)
    For i = 1 To Len(text$)
      FrontColor($0102FE)
      tex$ = Mid(Text$,i,1)
      DrawText(x-1,y,tex$)
      DrawText(x+1,y,tex$)
      DrawText(x,y-1,tex$)
      DrawText(x,y+1,tex$)
      FrontColor($E0FFFF) 
      DrawText(x,y,tex$)
      x = x + TextWidth(Tex$) + 2
    Next 
  StopDrawing() 
EndProcedure

If OpenWindow(0, 100, 200, 195, 260, "Test Outline Text", #PB_Window_SystemMenu)
  TextOutline("Quality",20,20) 
  ;TextOutline("qrstuvwxy",20,20)
  Repeat 
    EventID.l = WaitWindowEvent() 
    If EventID = #PB_Event_CloseWindow 
      Quit = 1 
    EndIf 
  Until Quit = 1 
EndIf 
End 
Egypt my love
User avatar
Arctic Fox
Enthusiast
Enthusiast
Posts: 609
Joined: Sun Dec 21, 2008 5:02 pm
Location: Aarhus, Denmark

Re: Blackboard bold characters

Post by Arctic Fox »

Thanks a bunch, RASHAD! :D

I will have a look at the font applications you recommend - it seems to be the best solution.
And thanks for your example - I am going to play with that one to see if I can achieve a good result :)
RASHAD wrote:I think that you are creating a software for mathematical purposes
Yep, you are right (are you spying me? :wink: :mrgreen:)
I am creating a kind of typesetting system like TeX which I will post here on the forum in near future (hopefully 8) ).


Thank you all for your help - I appreciate it :D
User avatar
Vera
Addict
Addict
Posts: 858
Joined: Tue Aug 11, 2009 1:56 pm
Location: Essen (Germany)

Re: [Solved] Blackboard bold characters

Post by Vera »

Addendum

I like to hint you to another free (GNU) font I came across containing cyrillic, greek and mathematical characters (including blackboard bold).
http://savannah.gnu.org/projects/freefont/ wrote:We aim to provide a useful set of free outline (i.e. OpenType) fonts covering as much as possible of the Unicode character set. The set consists of three typefaces: one monospaced and two proportional (one with uniform and one with modulated stroke).
Not only that they offer these fonts but they also share the developer editions usable with the editor FontForge.
All downloads can be found here: http://ftp.gnu.org/gnu/freefont/

greetings ~ Vera
User avatar
Arctic Fox
Enthusiast
Enthusiast
Posts: 609
Joined: Sun Dec 21, 2008 5:02 pm
Location: Aarhus, Denmark

Re: [Solved] Blackboard bold characters

Post by Arctic Fox »

Hi Vera!
Thanks a lot for your link - it is very interesting! I will certainly have a look :D
Post Reply