Click here to Skip to main content
15,889,867 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# equivalent of getch () Pin
Jordanwb11-Sep-07 15:10
Jordanwb11-Sep-07 15:10 
GeneralRe: C# equivalent of getch () Pin
Brady Kelly11-Sep-07 22:11
Brady Kelly11-Sep-07 22:11 
GeneralRe: C# equivalent of getch () Pin
Jordanwb12-Sep-07 8:33
Jordanwb12-Sep-07 8:33 
QuestionGet an object from a handle [modified] Pin
Skippums11-Sep-07 11:12
Skippums11-Sep-07 11:12 
AnswerRe: Get an object from a handle Pin
Luc Pattyn11-Sep-07 13:22
sitebuilderLuc Pattyn11-Sep-07 13:22 
GeneralRe: Get an object from a handle Pin
Skippums12-Sep-07 4:18
Skippums12-Sep-07 4:18 
GeneralRe: Get an object from a handle Pin
Luc Pattyn12-Sep-07 4:58
sitebuilderLuc Pattyn12-Sep-07 4:58 
QuestionCan I make a partial font in C#? Pin
Robert Royall11-Sep-07 11:05
Robert Royall11-Sep-07 11:05 
As one of my side projects I've been shuffling through the Adobe PDF 1.8 documentation, thinking about how to whip up a useful (if not entirely complete) library to print to PDF. PostScript takes a little bit to get used to but it's not bad.

My latest milestone was finding a way to retrieve a font from the system and it into the output stream (as PDF features embedded fonts). Now most of the major commercial vendors implement partial font embedding (i.e. only embedding the characters that you've used in your PDF document, rather than the entire font). I think this would be a useful addition to my homebrew library, but MSDN and Google are a bit light on documentation on the Font object.

So I suppose my question to you fine fellow programmers is, is there a way to take a .NET framework (2.0) Font object, remove all but a defined set of characters, and then write the remaining bits to a MemoryStream or FileStream? Would I have to do this unmanaged? Would I have to be so desperate as to break the font apart at the byte level in C++ and manually copy the relevant glyph data to the stream?

Please don't bother me... I'm hacking right now. Don't look at me like that - doesn't anybody remember what "hacking" really means? Sigh | :sigh:

QuestionTextBox Pin
Assaf8211-Sep-07 10:31
Assaf8211-Sep-07 10:31 
AnswerRe: TextBox Pin
netJP12L11-Sep-07 10:55
netJP12L11-Sep-07 10:55 
GeneralRe: TextBox Pin
Assaf8211-Sep-07 16:38
Assaf8211-Sep-07 16:38 
GeneralRe: TextBox Pin
Malcolm Smart11-Sep-07 20:55
Malcolm Smart11-Sep-07 20:55 
Questionadding data trough datagridview to the sqlserver database Pin
NewToAspDotNet11-Sep-07 10:06
NewToAspDotNet11-Sep-07 10:06 
AnswerRe: adding data trough datagridview to the sqlserver database Pin
ss.mmm11-Sep-07 10:54
ss.mmm11-Sep-07 10:54 
AnswerRe: adding data trough datagridview to the sqlserver database Pin
Mairaaj Khan11-Sep-07 12:44
professionalMairaaj Khan11-Sep-07 12:44 
Questionhow to get proj file Pin
ss.mmm11-Sep-07 10:01
ss.mmm11-Sep-07 10:01 
AnswerRe: how to get proj file Pin
Judah Gabriel Himango11-Sep-07 10:13
sponsorJudah Gabriel Himango11-Sep-07 10:13 
GeneralRe: how to get proj file Pin
ss.mmm11-Sep-07 10:50
ss.mmm11-Sep-07 10:50 
Questioncustom combobox display issue Pin
arevans11-Sep-07 9:09
arevans11-Sep-07 9:09 
AnswerRe: custom combobox display issue Pin
Skippums11-Sep-07 11:28
Skippums11-Sep-07 11:28 
QuestionDefaultValue Attribute for System.Collections.ArrayList Pin
Christopher Stratmann11-Sep-07 8:24
Christopher Stratmann11-Sep-07 8:24 
AnswerRe: DefaultValue Attribute for System.Collections.ArrayList Pin
Judah Gabriel Himango11-Sep-07 10:10
sponsorJudah Gabriel Himango11-Sep-07 10:10 
GeneralRe: DefaultValue Attribute for System.Collections.ArrayList Pin
Christopher Stratmann12-Sep-07 1:43
Christopher Stratmann12-Sep-07 1:43 
QuestionClear ButtonClick event Pin
SamuelClay11-Sep-07 7:41
SamuelClay11-Sep-07 7:41 
AnswerRe: Clear ButtonClick event Pin
Kristian Sixhøj11-Sep-07 7:50
Kristian Sixhøj11-Sep-07 7:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.