Subpixel pdf rendering for evince

Here is a simple patch for evince to enable sub-pixel rendering of pdf files.
First you should replace cairo with either aur/cairo-cleartype or aur/cairo-glitz-cleartype,
otherwise you will get ugly color fringes on your glyphs.
Then unpack the source with makepkg -o.
Edit the following patch. (e.g. some people might want  CAIRO_SUBPIXEL_ORDER_VRGB
intead of  CAIRO_SUBPIXEL_ORDER_RGB. You can also choose different hinting styles:
CAIRO_HINT_STYLE_SLIGHT,  CAIRO_HINT_STYLE_FULL or CAIRO_HINT_STYLE_NONE.
--- ev-poppler.cc 2009-09-21 15:12:26.000000000 +0200
+++ /home/markus/tmp/ev-poppler.cc 2009-10-17 14:04:21.000000000 +0200
@@ -487,10 +487,25 @@
#ifdef HAVE_POPPLER_PAGE_RENDER
cairo_t *cr;
+ cairo_font_options_t *options;
+
surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
width, height);
+ memset (cairo_image_surface_get_data (surface), 0xff,
+ cairo_image_surface_get_height (surface) *
+ cairo_image_surface_get_stride (surface));
+
+ options = cairo_font_options_create ();
+ cairo_surface_get_font_options (surface, options);
+ cairo_font_options_set_antialias (options, CAIRO_ANTIALIAS_SUBPIXEL);
+ cairo_font_options_set_subpixel_order (options, CAIRO_SUBPIXEL_ORDER_RGB);
+ cairo_font_options_set_hint_style (options, CAIRO_HINT_STYLE_NONE);
+
cr = cairo_create (surface);
+ cairo_set_font_options (cr, options);
+ cairo_font_options_destroy (options);
+
switch (rc->rotation) {
case 90:
then hand-apply this patch in abs/extra/evince/src/evince-2.28.0/backend/pdf
and finally build the package with makepkg -e.

Yeah I tried mupdf, its rendering is actually worse.
I tried different computers and distros btw, it all looks the same no matter where and what I used. So I figure, there's nothing wrong with my config, it's just (currently?) not possible to have a better rendering without using acroread. Maybe I'll stick to it, but it's a pain in the ass to "maintain" as it's 32-bit and only in AUR. Also not open. And, even worse, adobe.
Thanks anyway.

Similar Messages

  • PDF renderer for next release please

    I would like to add to the
    discussion
    on the old labs forum.
    AIR would be hugely more useful to me if it could display a
    pdf natively. This would mean bundling a basic pdf renderer with
    AIR. This needn't add much to the AIR runtime (e.g. FoxIt reader is
    only 2mb).
    As mentioned in the linked discussion, AIR could check for
    the presence of Adobe Reader x.x and / or full Acrobat and then
    make use of them if required. But the ability to simply display
    (and hence print) pdf's without launching an additional application
    and without worrying about what the user might have installed on
    various OS's would IMHO make AIR a more wonderful thing!
    Here's hoping..

    The release notes state that you can display a pdf natively,
    ONLY if the client has the most current 8.1 reader. Unfortunately,
    I have not yet found a method for doing this, despite having the
    most current reader...
    Regardless, I second this proposal, and I do not understand
    why Adobe would essentially leave one of the core products of AIR
    out of the 1.0 release. I would have assumed that the first alpha
    would have been able to not only render a pdf to the display, but
    also write a pdf out to the client machine. Understandably, this
    may be easier said than done, but should have been done before a
    1.0 release.
    Also, I do not understand why 2/3 of the release notes are
    known issues many of which should have been taken care of prior to
    release. I do not understand why anyone would knowingly release a
    buggy product.

  • Separate subpixel rendering for each monitor

    Hi,
    is it possible to configure separate subpixel rendering for each monitor? I use a multi monitor setup with 2 additional inverted screens (via xrandr). Each screen has a RGB subpixel mapping. The font rendering on the inverted screens looks odd, because they would need BGR mappings. Thats my guess at least, tested it via http://www.lagom.nl/lcd-test/subpixel.php

    Unfortunately there is no way to have separte subpixel rendering for each monitor.  The library doing the rendering (freetype), would have to know which screen you are on and adjust dynamically.  Plus, suppose you have half of a window on one screen and half on another - it wouldn't know which to choose.
    I would like to be able to do this, too, for my rotated monitor.
    I am sure it is technically possible, but not without a major redesign of how the applications render the fonts.

  • PDF font viewed Evince different than actual PDF font?

    The title says it all. I'm getting a very strange girly font (no offense, but the i's are dotted with hearts) being rendered for all the text on the PDF. Some PDFs that I view in Evince retain their original font. I have no idea why this is happening, and neither do I have this font on my computer. I am so definitely sure about that. Does anyone have ideas?
    I'm using Gnome3 if that matters any.
    Thanks in advance!

    Have you tried a different pdf viewer?  Gimp or inkscape can view pdf files or pages.  Epdfview is a lightweight, less feature-full alternative to Evince.
    It might help to identify the font.  You probably have the poppler package installed.  If so, you can use 'pdffonts' to list the fonts used in the problem file.  The mupdf package includes 'pdfinfo-mupdf' that can also be used to list the fonts used in a pdf-file.

  • I am in the process of expanding a database of chemistry journal articles.  These materials are ideally acquired in two formats when both are available-- PDF and HTML.  To oversimplify, PDFs are for the user to read, and derivatives of the HTML versions a

    I am in the process of expanding a database of chemistry journal articles.  These materials are ideally acquired in two formats when both are available-- PDF and HTML.  To oversimplify, PDFs are for the user to read, and derivatives of the HTML versions are for the computer to read.  Both formats are, of course, readily recognized and indexed by Spotlight.  Journal articles have two essential components with regards to a database:  the topical content of the article itself, and the cited references to other scientific literature.  While a PDF merely lists these references, the HTML version has, in addition, links to the cited items.  Each link URL contains the digital object identifier (doi) for the item it points to. A doi is a unique string that points to one and only one object, and can be quite useful if rendered in a manner that enables indexing by Spotlight.  Embedded URL's are, of course, ignored by Spotlight.  As a result, HTML-formatted articles must be processed so that URL's are openly displayed as readable text before Spotlight will recognize them.  Conversion to DOC format using MS Word, followed by conversion to RTF using Text Edit accomplishes this, but is quite labor intensive.
      In the last few months, I have added about 3,500 articles to this collection, which means that any procedure for rendering URL's must be automated and able to process large batches of documents with minimal user oversight.  This procedure needs to generate a separate file for each HTML document processed. Trials using Automator's "Get Specified Finder Items" and "Get Selected Finder Items", as well as "Ask For Finder Items"  (along with "Get URLs From Web Pages") give unsatisfactory results.  When provided with multiple input documents, these three commands generate output in which the URLs from multiple input items are merged into a single block, which yields a single file using "Create New Word Document" as the subsequent step.  A one-to-one, input file to output file result can be obtained by processing one file at a time, but this requires manual selection of each item and one-at-a-time processing. What I need is a command that accepts multiple input documents, but processes them one at a time, generating a separate output for each file processed.  Is there a way for Automator to do this?

    Hi,
    With the project all done, i'm preparing for the presentation. Managed to get my hands on a HD beamer for the night (Epason TW2000) and planning to do the presentation in HD.
    That of course managed to bring up some problems. I posted a thread which i'll repost here . Sorry for the repost, i normally do not intend to do this, but since this thread is actually about the same thing, i'd like to ask the same question to you. The end version is in AfterEffects, but that actually doesn't alter the question. It's about export:
    "I want to export my AE project of approx 30 min containing several HD files to a Blu Ray disc. The end goal is to project the video in HD quality using the Epson  EMP-TW2000 projector. This projector is HD compatible.
    To project the video I need to connect the beamer to a computer capable of playing a heavy HD file (1), OR burn the project to a BRD (2) and play it using a BRplayer.
    I prefer option 2, so my question is: which would be the preferred export preset?
    Project specs:
                        - 1920x1080 sq pix  (16:9)
                        - 25 fps
                        - my imported video files (Prem.Pro sequences) are also 25 fps and are Progressive (!)
    To export to a BRD compatible format, do i not encounter a big problem: my projectfiles are 25 fps and progressive, and I believe that the only Bluray preset dispaying 1920x1080 with 25 fps requests an INTERLACED video  (I viewed the presets found on this forum, this thread)... There is also a Progr. format, BUT then you need 30 fps (29,...).
    So, is there one dimension that can be changed without changing the content of the video, and if yes which one (either the interlacing or the fps).
    I'm not very familiar with the whole Blu-ray thing, I hope that someone can help me out."
    Please give it a look.
    Thanks,
    Jef

  • PDF Rendering in EP6

    Hello,
    I am integrating XMLMILL (www.xmlmill.com) into EP6 to provide PDF rendering on the fly from xml+xsl data.
    I finally got it working and I am now able to render impressive PDF files but seems xmlmill is not fully compatible with EP6 from different perpectives: xml-xstl parsers/transformes, logging subsystem and class loading (retrieval of resources) as well as compatibility with PAR deployment process.
    Is there anybody else that has tried this tool or a similar one into EP6?
    Would like to share your experiences.
    Thanks in advanve & Regards
    Vitaliano Trecca

    Yes we also use a tool to transform XML into PDF from Apche (FOP project) and we have the same problems as you (incompatibility between Apache libraries and EP6 libraries). In EP5 it worked fine since the inqmy libraries were not automatically loaded at runtime !
    SAP people from the development are actually working on this problem. I'll keep you informed if they found a workaround for this.
    Xavier

  • PDF-Rendering is very slow

    Hi,
    on our local test-environment with CF 8.01 we have no problem to create a pdf with cfdocument-tag.
    <cfdocument format="pdf"
                    encryption = "128-bit"
                    permissions="AllowCopy,AllowPrinting"
                    unit="cm"
                    scale="100"
                    backgroundVisible="yes"
                    marginleft="1"
                    marginright="1"
                    filename="#url.pk_id#.pdf"
                    pageType="A4">
              <cfdocumentitem type="header">
              ... content of the pdf
    </cfdocument>
    but our productive-server (the same CF-version as the local testserver) is working very slow, and when I say slow I mean minutes not a view seconds more.
    I have no idea where this discrepance is comming from, especially as we could observe the pdf-rendering on fusion-reactor witch makes it rather improbable that - as we first thought - our firewall is slowing down the process.
    does anyone out there has an idea where the problem could be located or had someone in this forum experienced a simular pdf-pitfall?
    thanks for yout efforts.

    Hi Guys I work with a lot of pdf files with being a student at uni and not sure these tips might help. 
    Try an app called skim which is free it handles pdfs nicely and looks similar to the preview app. 
    Also if a pdf is slow to scroll try selecting all the pages goto file print.  Then on the bottom left hand side of the print window select pdf and then save as pdf.  I have found on some pdfs (usually the ones in black and white and look like a photo copy) using the the print save as pdf option has then allowed me to view a pdf fine in the preview app without any issues.  Hope this is useful.
    I suspect its to do with pixels per inch or dots per inch of the document.

  • Office Web Application PDF rendering poor quality

    Hi
    We have a customer using SharePoint 2013 and Office Web Application to provide PDF and WORD documents to partners. Now we ran into the problem, that all PDF are rendered in such a poor quality, that it is hard to read the PDF document, because it
    is so blured. DOCX documents are also compressed, but readable. If the user downloads the PDF file, the Quality of the PDF is good.
    That is how it looks in Office web application:
    This is the same file downloaded and opened with the pdf client:
    Is there any solution for this problem? Does Microsoft planned any update on this?
    Thanks
    Michael
    in2brain

    Hi Michael,
    Are you using a monitor with high resolution?
    Per the following information, if you are using a monitor with high resolution, the pdf rendered by OWA from browser will look blurry, as a workaround you can open PDF file using PDF client software currently.
    "The Word Viewer in the WACs converts documents (including PDFs) to PNG images at 96 DPI which is likely why the users are seeing blurry text if they are viewing documents on a high DPI device/monitor (>200 DPI)."
    Thanks
    Daniel Yang
    TechNet Community Support

  • Memory Problems with Adobe PDF iFilter for 64-bit

    In preparation to rebuild my Windows Search Index, I installed the Adobe PDF iFilter for 64-bit on my system (Vista Business 64).  When I finally rebuilt the index, I wasn't too surprised by what I saw happen, namely, the SearchFilter.exe process would kick in whenever I wasn't using the system and just eat RAM.  One time I turned it on and it had allocated over 4,000 MB (and my system only has 4,030 MB available) so of course it was forcing all the other processes to hard fault (ie. everything was moving like molasses--for example, it took 20 minutes to put the thing to sleep).  But I just let it do it's work, figuring that perhaps this was to be expected relative to the small library of PDF's that I've accumulated on my computer, ranging from LaTeX generated text files, to containers for hi-res scans.  So, after a day and a half of basically not using my laptop, everything finally calmed down and I enjoyed the benefits of searching the content of my library from the Windows Start menu--for a short while.
    However, to my dismay I've encountered the problem that this freezing of my computer would now occur after everytime I download a new PDF (in this particular case they were Google Books scans) and then left the computer to idle.  Again, the SearchFilter.exe would allocate all of my RAM for itself and just push everything else onto the Virtual RAM, which means the SLOWEST possibly fetching you can get.  I had to uninstall as this was making my computer unusable for 15-30 minutes after each idle. Everything is back in working order without the iFilter, but I would like to know if anyone has reported such problems on x64 systems.  Obviously, I will also report the problem to Microsoft, since the search engine should certainly have the precaution to handle such memory problems.   However, it is a problem that is created by the Adobe PDF iFilter interacting with the Windows Search engine.

    Hello,
    We believe we have figured this out.  It looks like it has to do with the length of the default folder location for the Adobe iFilter.
    I was able to reproduce the issue and the following resolved it for me.  See if this resolves it for you all as well.
    Here is how to get Adobe Version 11 PDF filter to work.
     1 . If you haven’t already, run the following in SQL Server:
    Sp_fulltext_service ‘Load_os_resources’, 1
    Go
    --you might also need to run: 
    sp_fulltext_service ‘Verify_signature’,0  --This is used to validate trusted iFilters. 0 disables it. So use with caution.
    --go
    2. Stop SQL Server.  (Make sure FDHost.exe stops)
    3.  
    Uninstall the Adobe ifilter (because it defaulted to having spaces or the folder name is too long).
    4.  
    Reinstall the Adobe iFilter and when it prompts for where to install it, change it to: C:\Program Files\Adobe\PDFiFilter
    5.  Once the installation finishes, go the computer’s Environment variables. Add the following to the PATH.
    C:\Program Files\Adobe\PDFiFilter\BIN
    NOTE: it must include the BIN folder
    NOTE: If you had the OLD location that included spaces, remove it from the path environment variable.
    6. Start SQL Server
    7.  IF you had an existing Full-text index on PDFs, drop the full-text index and recreate it.
    8. You should now get results when you run sys.dm_fts_index_keywords('db','tblname')  --Note: Change db to be the actual database name and tblname to be the actual table name.
     Give this a try and see if this fixes yours. 
    Sincerely,
    Rob Beene, MSFT

  • I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I am not aware of a way except for photos that allows you to select multiple files in an email. I even checked settings in the Adobe Reader app, and it does not show that ability.

  • I need to make a pdf document, made in photoshop, 'page turn' and then add it to my website. I know I can do this in indesign but indesign will not open pdf files for some inexplicable reason. Any ideas how I can do it without completely starting again?

    I need to make a pdf document, already made in photoshop, 'page turn' and then add it to my website as an e-brochure. I know I can do this in indesign but indesign will not open pdf files for some inexplicable reason. Any ideas how I can do it without completely starting again?

    Hello waitingone,
    please try this (all terms are translated from my German programs to my best knowledge):
    1. Did the creator of the pdf file enable the import options?
    2. See import options: choose an other visibility option for your layer.
    3. Let you show the import options and click into one with a black background and try these out (often a gray is selected).
    4. See trimming: try the different modes there. Often works: "Media".
    5. Is the pdf file (eg from Word) correctly created?
    6. Is the PDF file protected? >>> no import possible.
    7. If that does not help, store the pdf file in Acrobat, repair possible errors, run the PDF Optimizer before placing in InDesign.
    Good luck!
    Hans-Günter

  • Looking for a PDF app for iPad

    Hi,
    I'm sure I'm not the only one who's thought of this so I'm a believer that someone has created an app to help me and I can't find it!
    Pretty much, I'm looking for an app that will allow me to edit PDF's on my ipad and then send it (Via WiFi or Bluetooth) to my laptop.
    For example:
    Drawing a graph on my ipad, with detailed information, sending that to my macbook and then adding/inserting it to my PDF file on my laptop
    (Like getting a notification on my mac, loading it, draging it to my pdf, and vola!)
    If there is such a thing can someone help me out (If not feel free to take my idea and makes some money off of it, just let me know that you did!)
    Thanks

    Hey there
    "pdf creator" for iPad works flawlessly for me working with pdf files
    It takes care of all my needs
    I'm not sure about sending via Wifi or Bluetooth but I send them via e- mail all the time
    Possibly it could handle your needs as well
    Just type it into the App Store search field and the first one that comes up is the one I use
    Jump on over there and read up on it before buying and see if it will help you 
    Hope this helps
    Regards

  • How do I create a Pdf form for others?

    I have finally figured out how to make a pdf form, but my client wants to be able to attach the file to his e-mail and send it to his relations.
    How do I create a pdf form with his adress in stead of my own e-mailaccount?
    Tried to adjust my id in the preferences on my Mac, but that is not a safe way I guess...
    Can anybody help me out, I'm stuck...
    Bob

    Yes, I want to enable the client's relations to be able to click on a link
    in the pdf to automatically submit the pdf to his e-mail address.
    Now a purple bar shows up when a 'relation' opens the pdf form.
    In this bar is a button included for sending the form, but they have to
    confirm the adding of their reaction to the 'reactions-file'. This refers to
    the location where I authenticallly saved the file (on my hard disk).
    I can adjust the reply e-mail adress by temporarily adjusting my id in
    Acrobat preferences, but I don't know the future location of the reaction
    file.
    It's a difficult question, but it's based on the question: Is it possible to
    make a pdf form for somebody else; so they can send en receive the reactions
    on their moment and their wanted location?
    Op 02-04-10 04:32, carltondaniel <[email protected]> schreef:
    hi bob
    are you saying the email address is on the pdf as plain text? or are you
    wanting to enable the client's ³relations² to be able to click on a link in
    the pdf to automatically submit the pdf to his email address?
    daniel
    >

  • Trying to install Acrobate 8 Standard on PC with Windows 7, 64 bit. During the installation I was asked to provide "File Adobe PDF.dll for Windows Vista. How can I obtain the required file?

    Trying to install Acrobate 8 Standard on PC with Windows 7, 64 bit. During the installation I was asked to provide "File Adobe PDF.dll for Windows Vista. How can I obtain the required file?

    Nothing in the Acrobat 8.x product family is compatible with Windows 7 (or any contemporary OS).
    The Acrobat 8.x product family passed into End of Support way back -- (November 2011).
    The current release of Acrobat (XI) is compatible in Windows 7.
    Be well...

  • I have Adobe Photoshop Elements 10 plus I create PDF files for work some are scan pdf docs. When I install Photoshop Elements 10 it DOES convert all the PDF files to Photoshop Elements-10 Docs. it even changes and shows the PSE-10 Icon. So I am alway inst

    I have Adobe Photoshop Elements 10 plus I create PDF files for work some are scan pdf docs. When I install Photoshop Elements 10 it DOES convert all the PDF files to Photoshop Elements-10 Docs. it even changes and shows the PSE-10 Icon. So I am alway installing PSE-10 or uninstalling it. If I send the  PDF file that has been automatically converted to a PSE-10 the person I send the file to can not open it because they do not have PSE-10. What can I do to stop PSE-10 from converting my PDF files? Don't tell me to upgrade PSE-10 I tried their on-line program and  it is too advance for a hobby photographer like myself and their Help Desk is impossible to reach.

    Hi,
    Can you please share the logs?
    You can use the Adobe  Log Collector tool (Log Collector Tool) and share the corresponding zip file @ [email protected]
    Thanks,
    Shikha

Maybe you are looking for

  • App won't download. Says it is in the Norweigan store. I use USA store how do I change it?

    LDS songs will not download my updates.  I use USA apps store but the download apps message says I need to change from the Norweigan store to USA store.  It has updated previously without a problem.  How can I change from Norweigan to USA?

  • How to Generate Unique Cache Keys?

    I'm trying to improve the performance of my ColdFusion 10 application by making better use of caching.  I have a particular DAO/Gateway CFC that queries a particular database.  I added query caching to the query in this CFC and it made a huge differe

  • Database creation using backups files

    Hi, I would like to create a test database from backup of my production database. I am new to this task. Please correct me if I am wrong. in production server 1.Login as sysdba in the and issue "alter database backup controlfile to trace" command in

  • SXDB - record fields, --   what's the next step?

    Hi,   I want to generate a input file template for batch input of BOM by t-code: SXDB by the following steps:    T-code: SXDB --> input tansfer object: 30 ==> the follow the menu: goto: record fields --> input transaction code: CS01, then create a BO

  • [Help] Creative X-Fi Elite Pro Volume Rem

    I have?X-Fi Elite Pro soundcard and Megawork 550 5. speaker. As You know that Elite Pro have an I/O console which have a 9 Pin DIN for remote control. Therefore, I connect my I/O Console with my speaker using the 9 PINS DIN Cable provided by Creative