DanRRight
Joined: 10 Mar 2008 Posts: 2923 Location: South Pole, Antarctica
|
Posted: Fri May 29, 2015 9:15 pm Post subject: |
|
|
John,
I have 400 fonts in the computer which became a mess to use. Where the hell is this font called Latha? Or Arimo ? Or Meiryo? I was hell swearing all the time.
So first i've done is alphabetically ordered them. Here is two ways of sorting we discussed less then a year ago in this forum. Here is the code (reference of SORT is on that discussion, try to search it here)
Code: |
IndexFonts(:) = 0
! call chsort@(IndexFonts,Fontname1,Numb_CompFonts)
! Fontname1= Fontname1(IndexFonts(:))
CaseInsensitive = .false.
call SORT(Fontname1(1:Numb_CompFonts),IndexFonts,CaseInsensitive) |
Then you fit that into listbox and make choice easier. You can leave only needed fonts in listbox of course.
When you select the font the running line below shows what is in thus font. That can be done many different ways.
And of course you make your favorite fonts more specifically adjusted. You choose all needed sizes for them and tell the code where to use them and where not. |
|