Skip to main content
27 events
when toggle format what by license comment
Jan 7, 2019 at 17:49 comment added Вася Пупкин Hello. I immediately noticed the problem with the latching bracket, and corrected it. It's not about her.
Jan 4, 2019 at 3:38 history edited Demerit CC BY-SA 4.0
added 7 characters in body
Jan 4, 2019 at 3:37 comment added Demerit The above seems to be missing a closing brace in the second font-face definition. I must have copy-pasted wrong. Sorry about that. I've updated answer.
Dec 28, 2018 at 16:20 comment added Вася Пупкин Hello. It still does not work to make bold and italic. Maybe let me give you access to the site, and you see why it does not work? And then write here information about it. Where to send access data?
Dec 25, 2018 at 20:25 comment added Demerit I've updated answer with a fuller list. Sorry the font-family stays the same but you need to get the right combination of font-weight and font-style to match the ttf file. Regarding half-crossed out links, I think that's just the way the spacing comes out, either because of the font or dompdf. You could also try any other ttf font that supports utf-8 characters, or you could try editing print.css to style links so that there is no underline i.e. a {text-decoration: none;}
Dec 25, 2018 at 20:20 history edited Demerit CC BY-SA 4.0
added 716 characters in body
Dec 24, 2018 at 14:41 comment added Вася Пупкин Hello. Do you know what I did wrong, or is it unclear why it does not work as it should?
Dec 21, 2018 at 15:35 comment added Вася Пупкин Hello. Now I did this: yadi.sk/i/xJhAiAHyyCgcfg But it still does not help.
Dec 20, 2018 at 23:06 comment added Demerit For example for the one where you have font-style=italic, you have duplicated "DejaVu Sans" and the url for it, instead of using "DejaVu Sans-Oblique" and "DejaVuSans-Oblique.ttf". In english Italic and Oblique mean the same thing for fonts (maybe not to a purist, but for most practical use).
Dec 20, 2018 at 21:06 comment added Вася Пупкин Thank! Do not quite understand. What kind of coincidence are you talking about?
Dec 20, 2018 at 17:25 comment added Demerit I'm not asking for money but thanks. If you really want you could donate something at civicrm.org or a charity. You have some overlap in the font family and url where you've got the same thing for different font-styles.
Dec 20, 2018 at 16:28 comment added Вася Пупкин Happened! Thank! But now the bold text is no longer bold, and the links to half crossed out. Can you please tell me how to fix this? Now I wrote everything in the code like this yadi.sk/i/a3LHb-Ih0UpJrQ And tell me how much to pay for your help? And where to pay?
Dec 20, 2018 at 15:40 comment added Demerit Those are bold, which is the default for "th" tags even if not specified. So also install the bold .ttf and add a @font-face for that. Also technically there is a space between DejaVu and Sans, but it should work out ok as long as it's consistent.
Dec 20, 2018 at 15:20 comment added Вася Пупкин I understood what was the matter. It turns out I put the code in the wrong place in the /administrator/components/com_civicrm/civicrm/css/print.css file Now I fixed it, and the information is already better displayed in the file, but not everywhere. Part of the file is displayed correctly, but part is not. Probably still in some places still need to insert such a code? Can you look at the file itself? I edited the post, and attached the file to the post, as well as attached the pdf file, and the saved report for printing. Thanks you!
Dec 20, 2018 at 13:51 comment added Demerit Some more things to check: 1. Earlier you said you converted to afm. Maybe move that file out of the way in case it is interfering. 2. If you choose "print report" instead of PDF, does it pick up the right styles when you check using your browser developer tools? 3. On the report page if you click on title and format, is the path to the print.css file correct in the @import tag (especially if on windows no backslashes).
Dec 20, 2018 at 13:13 comment added Вася Пупкин Yes. Is loading. goo.gl/PYvQSL
Dec 20, 2018 at 13:02 comment added Demerit Is the url in @font-face correct for your site? If you put it into the browser bar does it download the ttf file?
Dec 20, 2018 at 12:22 comment added Вася Пупкин Not. Shows a different font. I edited the post, and attached to it a screen of what the program shows.
Dec 20, 2018 at 10:44 comment added Demerit Yes it worked for me with russian letters. If you choose file - properties in the pdf and look at the fonts tab is it the right font?
Dec 20, 2018 at 9:39 comment added Вася Пупкин Hello. Thanks for your help. Did exactly as you say, but nothing helps. The font is changing, but the Cyrillic characters are still displayed as question marks. I also tried to download fonts that support the Russian language here fonts-online.ru/font/Geometos-%5BRUS-by-Daymarius%5D, but never got the desired result. Is it possible to display Russian letters in PDF in this program?
Dec 20, 2018 at 0:49 comment added Demerit I've updated answer.
Dec 20, 2018 at 0:49 history edited Demerit CC BY-SA 4.0
added 383 characters in body
Dec 19, 2018 at 23:13 history edited Demerit CC BY-SA 4.0
added 210 characters in body
Dec 19, 2018 at 23:11 comment added Demerit You're right there seems to be something still missing.
Dec 19, 2018 at 21:21 comment added Вася Пупкин Hello. I tried to install the fonts in this folder, but they do not work. I found the fonts in ttf and then converted to afm, but it seems that in order to make them work, you need to make some additional settings. I went through all the fonts, saving them in the /administrator/components/com_civicrm/civicrm/css/print.css file It is in this file that I need to make edits so that the report files look correct. Tell me what am I doing wrong?
Dec 19, 2018 at 19:29 vote accept Вася Пупкин
Dec 17, 2018 at 17:36 history answered Demerit CC BY-SA 4.0