How can I create arrays for bitmap characters of a font..
Which should be like a grid, width in pixels by the height in pixels of the font size. With thoise pixels should make shape of a character in the grid.
for example:
// Font data is Times New Roman 10pt
// Character bitmaps for Times New Roman 10pt
const uint_8 timesNewRoman_10ptBitmaps[] =
{
// @0 'a' (5 pixels wide)
0x00, //
0x00, //
0x00, //
0x60, // ##
0x90, // # #
0x70, // ###
0x90, // # #
0x90, // # #
0x78, // ####
// @9 'b' (6 pixels wide)
0x40, // #
0xC0, // ##
0x40, // #
0x58, // # ##
0x64, // # # #
0x44, // # #
0x44, // # #
0x44, // # #
0x38, // ###
Is there any possible way to it.. Can anyone help me in doing this process.
Thank U
Madhu Mitha
01-Apr-2015Anonymous User
01-Apr-2015Madhu Mitha
01-Apr-2015Anonymous User
01-Apr-2015Madhu Mitha
01-Apr-2015Anonymous User
01-Apr-2015Hey if i understand you right you need something like this:
You can use the bmp object in your Program. For example:
picturebox.Image = bmp;
I hope you can understand it now :) If you have a problem to understand the Objectdesign you should read a book at first. This is for free ;)