Article View: comp.windows.interviews
Article #10098bits characters
From: Didier Poirot
Date: Mon, 29 Apr 1991 11:52
Date: Mon, 29 Apr 1991 11:52
74 lines
2951 bytes
2951 bytes
Some time ago (~ 10 days), I posted a message about problems with 8bits chars
with idraw (from 3.0 beta). As I get no answer, I don't remember if I have really
sent my prepared message. So, please excuse me, if it has been already posted.
The problem is that some 8 bit chars, most of the ones acceeded with ALT-SHIFT- key
are ignored. Some others, acceeded with ALT-key are ignored too, mainly c-cedilla
e-grave, which were previously bound to:
ALT-g and ALT-h
Has someone else encountered the same problem ?
As I live in France, I use A4 format (21x29.7 cm). So I have modified idraw's
default format. You will find the context diff below. One of idraw enhancement
could be a resource specification of the drawing area. It is now the third time
I change the dimensions for idraw, and I don't know if I change the sources in
the right way. Maybe I forget something !
*** ided.c~ Thu Apr 18 16:14:55 1991
--- ided.c Thu Apr 18 16:39:05 1991
***************
*** 479,486 ****
return tools;
}
! //static const float PAGE_WIDTH = 8.5;
! //static const float PAGE_HEIGHT = 11;
static const float PAGE_WIDTH = 21;
static const float PAGE_HEIGHT = 29.7;
--- 479,486 ----
return tools;
}
! //static const float PAGE_WIDTH = 8.5; modified by dp for A4 format
! //static const float PAGE_HEIGHT = 11; modified by dp for A4 format
static const float PAGE_WIDTH = 21;
static const float PAGE_HEIGHT = 29.7;
***************
*** 488,495 ****
static const float DEFAULT_YINCR = 8;
void IdrawEditor::InitViewer () {
! // const float w = round(PAGE_WIDTH * inches);
! // const float h = round(PAGE_HEIGHT * inches);
const float w = round(PAGE_WIDTH * cm);
const float h = round(PAGE_HEIGHT * cm );
--- 488,495 ----
static const float DEFAULT_YINCR = 8;
void IdrawEditor::InitViewer () {
! // const float w = round(PAGE_WIDTH * inches); modified by dp for A4 format
! // const float h = round(PAGE_HEIGHT * inches); modified by dp for A4 format
const float w = round(PAGE_WIDTH * cm);
const float h = round(PAGE_HEIGHT * cm );
Thanks in advance for your help.
--
"Never trust a programmer that carries a screwdriver" - George Morrow
/ / Didier Poirot
__/ o __/ o _ __ Chorus Systemes
(_(_(_(_(_(_(<_/ (_ 6 avenue Gustave Eiffel
F-78182, St-Quentin-en-Yvelines-Cedex
dp@chorus.fr (Internet)
Technical Details
Message-ID:
<9946@chorus.fr>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!corton!chorus!adagio.chorus.fr!dpShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!corton!chorus!adagio.chorus.fr!dp From: dp@adagio.chorus.fr (Didier Poirot) Newsgroups: comp.windows.interviews Subject: 8bits characters Message-ID: <9946@chorus.fr> Date: 29 Apr 91 11:52:03 GMT Sender: dp@chorus.fr Reply-To: dp@chorus.fr Organization: Chorus systemes, Saint Quentin en Yvelines, France Lines: 74