Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "KOL";
Текущий архив: 2004.02.29;
Скачать: [xml.tar.bz2];

Вниз

Файл   Найти похожие ветки 

 
Юрий К   (2003-06-09 17:15) [0]

Загружаю файл "acrobat.txt", который имеет следующее начало:
" There"s more to Acrobat®
than the Reader!
Create and enhance PDF files with Adobe® Acrobat 4.0 software
How often does this happen to you?
You complete an important document just under the wire and send it off to a colleague as an e-mail attach-
ment, only to hear that she couldn"t open the file-she works on a different platform. Or maybe she doesn"t
( sFilename, reText, False) Загружаю файл "acrobat.txt", который имеет следующее начало:
" There"s more to Acrobat®
than the Reader!
Create and enhance PDF files with Adobe® Acrobat 4.0 software
How often does this happen to you?
You complete an important document just under the wire and send it off to a colleague as an e-mail attach-
ment, only to hear that she couldn"t open the file-she works on a different platform. Or maybe she doesn"t
have the right application loaded.
... и т.д.",
используя код:
red.Font.FontHeight := red.Font.FontHeight+1;
red.RE_LoadFromFile(sFilename, reText, False)ж
// Changing FontHeight because text is showed with default FontHeight
red.Font.FontHeight := red.Font.FontHeight-1;

В результате получается следующее - "There"s more to Acrobat" показывается нормально, а остальное показывается так мелко, что просто ничего не разобрать. Если убираю из текста символ "®", то нормально показывается чуть больший текст, а именно
" There"s more to Acrobat
than the Reader!
Create and enhance PDF files with Adobe".
Как-то на показ влияют некоторые символы. Что нужно сделать для нормального отображения текста.
Если то же делать из VCLRichEdit, то там всё нормально отображается.
В чём же дело, что не так?


 
Кладов   (2003-06-09 21:09) [1]

RE_Font пробовали?


 
Юрий К   (2003-06-10 14:27) [2]

RE_Font не помогает, если убираешь из текста символы "®", то текст отображается нормально. Если эти символы присутствуют, то начиная с него, всё дальше показывается очень мелко. Тот же текст с символами "®" в VCL проекте отображается без проблем.


 
Юрий К   (2003-06-10 14:34) [3]

Может прислать проект с файлом "acrobat.txt", чтобы не теоретизировать?



Страницы: 1 вся ветка

Форум: "KOL";
Текущий архив: 2004.02.29;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.45 MB
Время: 0.011 c
1-93932
AkaSaint
2004-02-14 21:19
2004.02.29
Ошибка при приведении объекта к типу предка


1-93933
Настенька
2004-02-13 10:04
2004.02.29
ограничение на ввод в стрингриде


1-93843
Wild
2004-02-16 13:46
2004.02.29
StringReplace


1-93949
Grihan
2004-02-17 17:53
2004.02.29
ModalResult


1-93909
Ilg
2004-02-08 14:31
2004.02.29
Handle главного окна





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский