News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Image Editor Test (03-08-2005)

Started by Ewayne, March 08, 2005, 10:21:26 PM

Previous topic - Next topic

Manos

In follow attachment I use Arial size 5  but the right side does not looks OK.
Combos are not affect.
Download my attachment and you will see.
In my opinion,you have to use Dialog as main window to solve the problem.
Note:
I have WinXP.

Manos.


[attachment deleted by admin]

Ewayne

Hi Mano,

Did you use Font MD to change the three Combo fonts and some of the other fonts
on the right hand side?

Also could you try "MS Sans Serif" 6 for the Font SM to see how the fonts on the left
hand side look, maybe your system doesn't like "MS Sans Serif".

If the "MS Sans Serif" 6 looks ok then it didn't like changing the fonts during the create routine.
If it is still too large I will use Arial or Tahoma to see if that woks.

I know I could fix it by making it a dialog, but whaterver you can do with a dialog you can
do with CreateWindow plus more.

Thanks,

Ewayne

QvasiModo

Quote from: Ewayne on March 10, 2005, 08:15:48 PM
I know I could fix it by making it a dialog, but whaterver you can do with a dialog you can
do with CreateWindow plus more.
I suppose you could measure the size in pixels of your text strings, and create each control with the appropriate size... but it sounds like reinventing the wheel to me. :shrug:

Manos

#18
I changed the font as follow:
SM-->Arial 6
MD-->Arial 6

With these changes,it looks good.
See my attachment.

Manos.


[attachment deleted by admin]

Ewayne

Hi QvasiModo,

I could figure out how to do it, but I should not have to do that.

It has been tested on 7 different systems from Win98 thru XP pro with
120 dpi and or large fonts with no problem.

There is something strange about some systems like they doesn't like name or the size of some fonts.

Thanks,

Ewayne

Ewayne

#20
Hi,

Well it looks like we're making progres.

Try this attachment I set the SM font to Arial 6 and MD font to Arial 7.

If this works I will check the DPI setting and set the font accordingly, because on my system
the font is so small it's hard to see the text.

Thanks,

Ewayne


pbrennick

Ewayne,
I would just like to point out that Manos has had a history of font troubles.  He complained a lot about the font settings of this board, for example.  He has a problem that I never could reproduce though I tried many times.  I suspect it is his Graphics card.

No offense, Manos, but let's be fair to Ewayne, I have known Ewayne for many years and he has always bent over backwards to try to help.  Even when I made stupid mistakes!  :wink

Paul

AeroASM

I realise that this project is by no means pointless, but Microsoft has already made a good icon/cursor editor. I tis called ImagEdit.exe and is in \masm32\bin

Manos

#23
Quote from: pbrennick on March 11, 2005, 06:27:52 PM
Ewayne,
I would just like to point out that Manos has had a history of font troubles.  He complained a lot about the font settings of this board, for example.  He has a problem that I never could reproduce though I tried many times.  I suspect it is his Graphics card.

No offense, Manos, but let's be fair to Ewayne, I have known Ewayne for many years and he has always bent over backwards to try to help.  Even when I made stupid mistakes!  :wink

Paul


Paul,
I have no problems with my graphics card(128 MB ASUS).
Also,I complained about the font settings of this board because I don't like this font,simply.
I could no expression properly,because of my little English.
I like the old Forum font.

Ewayne,
your last attachment seems good,except font size that is very small.
In my opinion,it is preferable to increase the size of main window.
Have a look in follow attachment.

Manos.



[attachment deleted by admin]

pbrennick

Manos,
Calm down.  The point I am making is that you have complained about font size before and I could not reproduce it.  That is all and it does bear on this problem because you are making the exact same claims.  There is no need to get angry.  Truth always will find a way to solve a problem and Ewayne needs all the data he can get.  I have tried his program on win98, win98se, winxp, winxp pro and win me and in all cases, it looks very acceptable.  If he makes a change to solve a problem that is very narrow in scope, he runs the risk of causing problems elsewhere.  As an intellectual, you know this is correct.

Peace Manos,
Paul

Manos

Paul,

In this case combos and labels are overlaped.

Manos.

pbrennick

Manos,
I see, although I do not understand why.  We are all concerned about your problem but I am not sure if you will ever be happy with the result just as you are unhappy with this forum.  There must be some one thing that we are all overlooking that impacts your viewing experience.  I truly hope you get a good result but I fear it may always plague you.  I wish I had an answer for you, my friend.

Paul

MichaelW

For the most recent ImgEdit attachment (and using my 54-year-old eyeballs):

Under Windows 2000, 1024x768, 32bpp, large (120dpi) fonts, Matrox G200, and Sony Multiscan E200 (17 inch), the small fonts (labels Alpha value, Size, Depth, and Type) are difficult to impossible to read.

Same for Windows XP, 1024x768, 32bpp, normal (96dpi) fonts, ATI Rage Pro Turbo, and Sony Multiscan E200. Changing to large fonts does not seem to alter the apparent size or the readability (for the small fonts). Enabling ClearType improves the readability somewhat, at the expense of making the small fonts appear fuzzy and out of focus.

Also, with large fonts there seems to be a problem with the horizontal white bar, which is above the status bar with normal fonts, overlapping the status bar.

The attachment shows (I hope) what it looks like on both systems (with large fonts and without ClearType).


[attachment deleted by admin]
eschew obfuscation

Ewayne

Hi All,

Thanks for the replies.

Sorry about the delay, I had to go out of town for a few days.

I looks liike I missed out on some good conversation.

To AeroASM:
I was not aware of ImagEdit.exe, but after looking at it, it supports the reason that
I'm writting my own. e.g. it only supports 2 or 16 colors, not 24 or 32 bits that I wanted.

But anyway, sometimes I write programs just to see If I can.

To MichaelW:
I hope the changes fix your problems.


Thanks Paul for the support.

About the fonts and the main window size, the program now checks at load time (If the first time)
to see if the DPI is greater then 96 and or the system font is greater then normal. If it is the program
will attempt to adjust the fonts accordingly. If the result is not to your satisfaction you can go to the
Options menu and change the fonts.
NOTE ! The controls use three different size fonts so you will probably have to change all THREE, SM, MD, and LG.

The main window will also resize itself depending on the DPI and system font size.

Some added features:

1. You can select your drawing tools.
2. While drawing the left and right mouse buttons controls the color to use Foreground, Background.
3. The program will save your fonts and your drawing tool selection(s).

You can go to the first post on this thread for the update.

Thanks,

Ewayne






pbrennick

Thanks Ewayne,
I am using an ATI RAGE MOBILITY-M1 AGP Adapter set to 1024x768, Normal 96 dpi and I include a screen shot.  The only complaint I have is please put the minimize control on the window.  I run a lot of stuff at the same time and I need to be able to minimize what I am not dealing with at the moment.

Paul


[attachment deleted by admin]