Форум: "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